commit | 4f427dcb8963846f7ab189f2774272cd898415af | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Mar 10 20:09:25 2021 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Apr 20 06:50:14 2021 -0700 |
tree | c6706d493027c0620255eddae90854190218bb21 | |
parent | 69698bde1873bb203fc0cb20026765ea5c4f93fe [diff] |
hwmon: (adm9240) Store i2c device instead of client in local data We only use the pointer to i2c_client to access &client->dev. Store the device pointer directly instead of retrieving it from i2c_client. Cc: Chris Packham <Chris.Packham@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>