提交 7bdf7c84 编写于 作者: W Wolfram Sang 提交者: 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: NWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: NMax Staudt <max@enpas.org>
Tested-by: NMax Staudt <max@enpas.org>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 bcc156e2
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册