diff options
author | 2022-08-26 20:26:40 +0300 | |
---|---|---|
committer | 2022-09-19 06:17:05 -0700 | |
commit | 2e2aa25cf5b0de2a2eb7da124c42184fc76d7afe (patch) | |
tree | 41086bc9cb54bb6996c63b0fd10b2d21c4d3bd5d /include/linux/pwm.h | |
parent | hwmon: (sparx5) Use devm_clk_get_enabled() helper (diff) | |
download | wireguard-linux-2e2aa25cf5b0de2a2eb7da124c42184fc76d7afe.tar.xz wireguard-linux-2e2aa25cf5b0de2a2eb7da124c42184fc76d7afe.zip |
hwmon: (pwm-fan) Replace OF specific call to PWM by plain one
There is no need to call OF specific devm_of_pwm_get() since
the device node parameter duplicates in the device parameter.
Hence we may safely replace it by plain devm_pwm_get() call.
This allows to drop devm_of_pwm_get() as no more users will be.
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/20220826172642.16404-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/pwm.h')
0 files changed, 0 insertions, 0 deletions