diff options
author | Dmitry Artamonow <mad_soft@inbox.ru> | 2012-04-02 09:42:22 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-04-03 03:38:14 +0200 |
commit | a03abdcb8e537912c9c44f283747b995d1788d23 (patch) | |
tree | d4d27e813068601708c12def227f8166cc463123 | |
parent | 409a3e98132c3a4f2aa2854995f8a9dd16cf11ac (diff) |
w1: fix slave driver registration error message
W1 core prints "Failed to register master driver" if error happens
on registering SLAVE driver. Fix it.
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/w1/w1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 9761950697b..2f2e894ea0c 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -1027,7 +1027,7 @@ static int __init w1_init(void) retval = driver_register(&w1_slave_driver); if (retval) { printk(KERN_ERR - "Failed to register master driver. err=%d.\n", + "Failed to register slave driver. err=%d.\n", retval); goto err_out_master_unregister; } |