summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.c
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2007-05-08 09:31:19 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:15:14 +0200
commit60ed34be8de04cc8082a163a665e01682c7bc937 (patch)
tree2b0f7fa09c943e0ffbeaaa9a5d8ca87cd8ba1d81 /drivers/w1/w1.c
parentMove LOG_BUF_SHIFT to a more sensible place (diff)
downloadlinux-60ed34be8de04cc8082a163a665e01682c7bc937.tar.xz
linux-60ed34be8de04cc8082a163a665e01682c7bc937.zip
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 '')
-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)
(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) {