aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2007-05-08 03:31:19 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:14 -0400
commit60ed34be8de04cc8082a163a665e01682c7bc937 (patch)
tree2b0f7fa09c943e0ffbeaaa9a5d8ca87cd8ba1d81 /drivers
parent794543a236074f49a8af89ef08ef6a753e4777e5 (diff)
W1 printk format warning fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-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) {