Commit 7bdf7c84 authored by Wolfram Sang's avatar Wolfram Sang Committed by Wolfram Sang

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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: default avatarMax Staudt <max@enpas.org>
Tested-by: default avatarMax Staudt <max@enpas.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent bcc156e2
...@@ -122,7 +122,6 @@ static int icy_probe(struct zorro_dev *z, ...@@ -122,7 +122,6 @@ static int icy_probe(struct zorro_dev *z,
struct fwnode_handle *new_fwnode; struct fwnode_handle *new_fwnode;
struct i2c_board_info ltc2990_info = { struct i2c_board_info ltc2990_info = {
.type = "ltc2990", .type = "ltc2990",
.addr = 0x4c,
}; };
i2c = devm_kzalloc(&z->dev, sizeof(*i2c), GFP_KERNEL); i2c = devm_kzalloc(&z->dev, sizeof(*i2c), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment