w1: fix slave driver registration error message
authorDmitry Artamonow <mad_soft@inbox.ru>
Mon, 2 Apr 2012 05:42:22 +0000 (09:42 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 22:05:47 +0000 (15:05 -0700)
commitecf1948985247cf35b5536fa62e02f56476f41f1
tree5317605efe84ccb95957a167ddaa014a1a602a9f
parent415f0a02adaea754dc85cde7b50707f7fbc4cf3f
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c