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: NDmitry Artamonow <mad_soft@inbox.ru> Acked-by: NEvgeniy Polyakov <zbr@ioremap.net> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录