diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-11-06 16:02:31 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-11-11 20:46:08 +0100 |
commit | 7bdf7c84c216c6d0447e5e15d229e2c3d6b705fa (patch) | |
tree | cc938ca642366df81a1399ed0fe6fb0bec5f6069 | |
parent | bcc156e2289d35673928fecf85c798a9d55f0b14 (diff) |
i2c: icy: no need to populate address for scanned device
i2c_new_{probed|scanned}_device will update the address after scanning.
No need to preset it.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Max Staudt <max@enpas.org>
Tested-by: Max Staudt <max@enpas.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/i2c/busses/i2c-icy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-icy.c b/drivers/i2c/busses/i2c-icy.c index 8382eb64b424..9d9fd78e0eed 100644 --- a/drivers/i2c/busses/i2c-icy.c +++ b/drivers/i2c/busses/i2c-icy.c @@ -122,7 +122,6 @@ static int icy_probe(struct zorro_dev *z, struct fwnode_handle *new_fwnode; struct i2c_board_info ltc2990_info = { .type = "ltc2990", - .addr = 0x4c, }; i2c = devm_kzalloc(&z->dev, sizeof(*i2c), GFP_KERNEL); |