forked from Minki/linux
[PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
976345cc0f
commit
ded5ca1f3b
@ -622,7 +622,7 @@ static int __init mac_sonic_init_module(void)
|
||||
return 0;
|
||||
|
||||
out_unregister:
|
||||
driver_unregister(&mac_sonic_driver);
|
||||
platform_driver_unregister(&mac_sonic_driver);
|
||||
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user