hwmon: (lm90) simplify getting the adapter of a client
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Reported-by:Peter Rosin <peda@axentia.se> Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net>
Showing
Please register or sign in to comment