[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:
Al Viro 2005-12-04 02:28:40 -05:00
parent 976345cc0f
commit ded5ca1f3b

View File

@ -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;
}