diff options
author | Heiner Kallweit | 2021-11-28 19:14:50 +0100 |
---|---|---|
committer | Bartosz Golaszewski | 2021-12-01 12:57:06 +0100 |
commit | 92e1764787e57417b8890db0f154c0f405548cdd (patch) | |
tree | 2766cb6cc914d85aba16b82a66bb9eeb2edc6366 /lib/btree.c | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) |
eeprom: at24: remove struct at24_client
We use member client only to get a reference to the associated struct
device, via &client->dev. However we can get the same reference from
the associated regmap, via regmap_get_device(regmap).
Therefore struct at24_client can be removed and replaced with a regmap
pointer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions