]> git.infradead.org Git - users/hch/misc.git/commit
hwmon: (lm92) Replace chip IDs with limit register resolution
authorGuenter Roeck <linux@roeck-us.net>
Wed, 17 Jul 2024 04:48:07 +0000 (21:48 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 27 Aug 2024 15:10:22 +0000 (08:10 -0700)
commitfcb49571b4d7a993190d4dc40331ac5c7350d2dd
treeafb2facf092cbe1001802757bb138f05c14d8cd7
parent82efdeff3ce722c74af7e95b7c8c060e272c4dd0
hwmon: (lm92) Replace chip IDs with limit register resolution

The chip IDs are not used by the driver. Drop them. Use driver data to
store the limit register resolution instead, and use this information
when writing temperature limits to improve chip specific rounding and
to avoid writing into unused register bits.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm92.c