W1 printk format warning fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
794543a236
commit
60ed34be8d
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ static int __w1_attach_slave_device(struct w1_slave *sl)
|
||||||
(unsigned long long) sl->reg_num.id);
|
(unsigned long long) sl->reg_num.id);
|
||||||
|
|
||||||
dev_dbg(&sl->dev, "%s: registering %s as %p.\n", __func__,
|
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);
|
err = device_register(&sl->dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
|
|
Loading…
Reference in a new issue