aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/w1.c')
-rw-r--r--drivers/w1/w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index 63c07243993c..7d6876dbcc96 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -459,7 +459,7 @@ static int __w1_attach_slave_device(struct w1_slave *sl)
459 (unsigned long long) sl->reg_num.id); 459 (unsigned long long) sl->reg_num.id);
460 460
461 dev_dbg(&sl->dev, "%s: registering %s as %p.\n", __func__, 461 dev_dbg(&sl->dev, "%s: registering %s as %p.\n", __func__,
462 &sl->dev.bus_id[0]); 462 &sl->dev.bus_id[0], sl);
463 463
464 err = device_register(&sl->dev); 464 err = device_register(&sl->dev);
465 if (err < 0) { 465 if (err < 0) {