commit | 92e1764787e57417b8890db0f154c0f405548cdd | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Nov 28 19:14:50 2021 +0100 |
committer | Bartosz Golaszewski <brgl@bgdev.pl> | Wed Dec 01 12:57:06 2021 +0100 |
tree | 2766cb6cc914d85aba16b82a66bb9eeb2edc6366 | |
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>