]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (spd5118) Use regmap to implement paging
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Jun 2024 17:08:54 +0000 (10:08 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Jun 2024 03:07:42 +0000 (20:07 -0700)
commit27972a41423291b0ca438fc3f0b104429bf270f2
tree8d817b75d4ccb1cf1393281e7c84688027336450
parent699383466851e3fb8284e1eefeed78ec30989b3b
hwmon: (spd5118) Use regmap to implement paging

Using regmap for paging significantly improves caching since the regmap
cache no longer needs to be cleared after changing the page, so let's
use it.

Suggested-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/spd5118.c