Skip to content
Snippets Groups Projects
Commit a03abdcb authored by Dmitry Artamonow's avatar Dmitry Artamonow Committed by Jiri Kosina
Browse files

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: default avatarDmitry Artamonow <mad_soft@inbox.ru>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 409a3e98
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment