hwmon: (lm90) Stop using R_/W_ register prefix
authorGuenter Roeck <linux@roeck-us.net>
Sun, 31 Oct 2021 09:01:41 +0000 (02:01 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:17 +0000 (08:38 -0700)
commitf68480cc32750eecf44dd657322040d41a6a557c
treec26116d30dc3156987983a70c4b60214281f7a27
parentca7b9b14a022b2d255133b7bce7536ac45441f5e
hwmon: (lm90) Stop using R_/W_ register prefix

The register write address either matches the read address, or it is the
read address plus 6. Simplify the code and resolve the write address
programmatically instead of having two defines for each register.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c