diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-02-14 15:36:43 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-02-25 12:37:46 -0800 |
commit | 1b5239f70fcd2d7fe86f0f5473006c2896db07a8 (patch) | |
tree | 14805a00df790379dfbfc6bfcd2b8eea9fe9a891 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 692cf83bc3c10c8af4dce0d9d2596c72b1037f6c (diff) |
hwmon: (axi-fan-control) Use device firmware agnostic API
Don't directly use OF and use device property APIs. In addition, this
makes the probe() code neater and also allow us to move the
of_device_id table to it's natural place.
While at it, make sure to explicitly include mod_devicetable.h for the
of_device_id table.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240214-axi-fan-control-no-of-v1-1-43ca656fe2e3@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions