summaryrefslogtreecommitdiff
path: root/drivers/hsi/hsi_core.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-03-10 20:09:25 -0800
committerGuenter Roeck <linux@roeck-us.net>2021-04-20 06:50:14 -0700
commit4f427dcb8963846f7ab189f2774272cd898415af (patch)
treec6706d493027c0620255eddae90854190218bb21 /drivers/hsi/hsi_core.c
parent69698bde1873bb203fc0cb20026765ea5c4f93fe (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>
Diffstat (limited to 'drivers/hsi/hsi_core.c')
0 files changed, 0 insertions, 0 deletions