]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (lm95234) Convert to with_info hwmon API
authorGuenter Roeck <linux@roeck-us.net>
Wed, 10 Jul 2024 14:11:12 +0000 (07:11 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:52 +0000 (10:43 -0700)
commitf27ab9f05c8633d63e50d4c412e7425c2dbad176
tree098c88b8de06a89994111e3fa3f4b2d6a5026b35
parent963f9bc976e27bf073b449497fcce404ef223f91
hwmon: (lm95234) Convert to with_info hwmon API

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

This patch reduces the object file size by about 30%.

No functional change.

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