]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (pwm-fan) Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Apr 2024 19:11:39 +0000 (22:11 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:33 +0000 (10:08 -0700)
commitdfd977d85b15bd69fbf39361f216feae115cd735
tree65857ca0cdbd5c0ba1aa20606a2bc3d159b79d2c
parent9c871df02a17a2f569252cf7182738c2d1f453bc
hwmon: (pwm-fan) Make use of device properties

Convert the module to be property provider agnostic and allow
it to be used on non-OF platforms.

Add mod_devicetable.h include.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240404191323.3547465-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
drivers/hwmon/pwm-fan.c