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>
This commit is contained in:
parent
bcc156e228
commit
7bdf7c84c2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue