|
@@ -459,7 +459,7 @@ static int __w1_attach_slave_device(struct w1_slave *sl)
|
|
|
(unsigned long long) sl->reg_num.id);
|
|
|
|
|
|
dev_dbg(&sl->dev, "%s: registering %s as %p.\n", __func__,
|
|
|
- &sl->dev.bus_id[0]);
|
|
|
+ &sl->dev.bus_id[0], sl);
|
|
|
|
|
|
err = device_register(&sl->dev);
|
|
|
if (err < 0) {
|