diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-03-10 20:09:25 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 06:50:14 -0700 |
commit | 4f427dcb8963846f7ab189f2774272cd898415af (patch) | |
tree | c6706d493027c0620255eddae90854190218bb21 /drivers/uio/uio_dmem_genirq.c | |
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>
Diffstat (limited to 'drivers/uio/uio_dmem_genirq.c')
0 files changed, 0 insertions, 0 deletions