projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c2a7b
)
[PATCH] jazzsonic: Fix platform device code
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 22 Nov 2005 00:19:44 +0000
(
00:19
+0000)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 1 Dec 2005 07:26:46 +0000
(
02:26
-0500)
Use platform_driver_unregister not driver_unregister to unregister a
struct platform_driver.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/jazzsonic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/jazzsonic.c
b/drivers/net/jazzsonic.c
index e1151d00388e3cb5bc9f408df179a2644b7736ac..272d331d29cd5a6a6363861ca0b1f91cba5ca33a 100644
(file)
--- a/
drivers/net/jazzsonic.c
+++ b/
drivers/net/jazzsonic.c
@@
-307,7
+307,7
@@
static int __init jazz_sonic_init_module(void)
return 0;
out_unregister:
- driver_unregister(&jazz_sonic_driver);
+
platform_
driver_unregister(&jazz_sonic_driver);
return -ENOMEM;
}