]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (max6697) Convert to use regmap
authorGuenter Roeck <linux@roeck-us.net>
Fri, 12 Jul 2024 22:45:38 +0000 (15:45 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:52 +0000 (10:43 -0700)
commit3a2a8cc3fe24ec48a3d222f5b9db68a3404ffab3
tree3c27fab5d712f7e8e11d92a7b992c79857c2355e
parentc02b25dcf64b07990a75292a83486b5348f3561e
hwmon: (max6697) Convert to use regmap

Use regmap for register caching, and use regmap API for bit operations
to simplify the code.

This patch reduces object file size by approximately 10%.

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