hwmon: (pwm-fan) Convert to use of_property_read_u32_array()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Apr 2024 19:11:38 +0000 (22:11 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:33 +0000 (10:08 -0700)
commit9c871df02a17a2f569252cf7182738c2d1f453bc
tree32216b75e3a5198f95265732063f8c472adc0898
parent523315a9111bf73672ba3693b5ecb3c1b47b07b2
hwmon: (pwm-fan) Convert to use of_property_read_u32_array()

This is a preparatory change to fulfill further conversion
the driver to be OF-independent. The independent code has
no analogue API that can read the value by index in the device
property array.

Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240404191323.3547465-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c