]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (max6697) Convert to with_info hwmon API
authorGuenter Roeck <linux@roeck-us.net>
Sat, 13 Jul 2024 14:44:20 +0000 (07:44 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:52 +0000 (10:43 -0700)
commit678c2a4582023a093d0c20def5ead7dd93f9004a
tree1ff4ab0a51973a68f0eafbbc5573fb4cbceaac7f
parent3a2a8cc3fe24ec48a3d222f5b9db68a3404ffab3
hwmon: (max6697) Convert to with_info hwmon API

Convert to with_info hwmon API to simplify the code and reduce its size.

This patch reduces object file size by approximately 25%.

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