Skip to content

Commit

Permalink
i2c: icy: no need to populate address for scanned device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Wolfram Sang committed Nov 11, 2019
1 parent bcc156e commit 7bdf7c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-icy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7bdf7c8

Please sign in to comment.