diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2023-04-19 11:36:56 +1200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-06-08 06:41:17 -0700 |
commit | 6a01a12d7e1609defa9a025e22e8730008a62104 (patch) | |
tree | 76f40bd66e30816a232dccc459dc27b1e50f6872 /drivers/hwmon/jc42.c | |
parent | bd5940221b7d49addfa5e80f3cf8fcd7cedd4dc5 (diff) | |
download | linux-stable-6a01a12d7e1609defa9a025e22e8730008a62104.tar.gz linux-stable-6a01a12d7e1609defa9a025e22e8730008a62104.tar.bz2 linux-stable-6a01a12d7e1609defa9a025e22e8730008a62104.zip |
hwmon: (adt7475) Convert to use device_property APIs
Instead of of_property_read_*() use the equivalent
device_property_read_*() API. This will allow these properties to be
used on DT unaware platforms. For DT aware platforms this will be a
noop.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20230418233656.869055-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/jc42.c')
0 files changed, 0 insertions, 0 deletions