Commit 1b5239f7 authored by Nuno Sa's avatar Nuno Sa Committed by Guenter Roeck
Browse files

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: default avatarNuno 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: default avatarGuenter Roeck <linux@roeck-us.net>
parent 692cf83b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment