aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 14:47:07 +0000
committerGuenter Roeck <[email protected]>2023-04-19 14:08:31 +0000
commit50c3480b6db859ce2c5f524eedb74973342455d0 (patch)
tree362c9efe14a2fcff8ddc253e49c67b03b7fe231d /drivers/hwmon/pwm-fan.c
parenthwmon: (nct6775) Drop unneeded casting and conjunction (diff)
downloadkernel-50c3480b6db859ce2c5f524eedb74973342455d0.tar.gz
kernel-50c3480b6db859ce2c5f524eedb74973342455d0.zip
hwmon: (ltc4245) Use of_property_read_bool() for boolean properties
It is preferred to use typed property access functions (i.e. of_property_read_<type> functions) rather than low-level of_get_property/of_find_property functions for reading properties. Convert reading boolean properties to of_property_read_bool(). Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions