projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1664061
)
misc: mic: card: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:55 +0000
(16:20 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:55 +0000
(16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/misc/mic/card/mic_x100.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/mic/card/mic_x100.c
b/drivers/misc/mic/card/mic_x100.c
index 9d57545d64f6d29071befd8ae6c92a33a4b02983..e98e537d68e372928575218538557dca83d3d765 100644
(file)
--- a/
drivers/misc/mic/card/mic_x100.c
+++ b/
drivers/misc/mic/card/mic_x100.c
@@
-255,7
+255,6
@@
static struct platform_driver __refdata mic_platform_driver = {
.shutdown = mic_platform_shutdown,
.driver = {
.name = mic_driver_name,
- .owner = THIS_MODULE,
},
};