]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (lm75) Remove superfluous 'client' member from private struct
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 19 Dec 2024 22:55:25 +0000 (23:55 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 Dec 2024 14:57:32 +0000 (06:57 -0800)
commit7a5c24da4b3c96949a6d93c3c7fa4133c6f2b88e
tree4dbc8c41a66b7032c7a5ccf499897ffea411b03d
parent2b64c6f652b0f5435b293d33f7d231132e987fb2
hwmon: (lm75) Remove superfluous 'client' member from private struct

The regmap-only conversion allows us to store the client-pointer as the
'context' parameter for regmap. This not only makes the private struct
smaller, but also allows proper separation of I2C and I3C in the future.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20241219225522.3490-10-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c