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:
b36069c
)
scsi: ufs: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:34 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:34 +0000
(16:21 +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/scsi/ufs/ufshcd-pltfrm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ufs/ufshcd-pltfrm.c
b/drivers/scsi/ufs/ufshcd-pltfrm.c
index 8adf067ff019344eaf0c42b97007b4abac65e79e..af613a6375dce0e91f93462a9eb5e795a10d226f 100644
(file)
--- a/
drivers/scsi/ufs/ufshcd-pltfrm.c
+++ b/
drivers/scsi/ufs/ufshcd-pltfrm.c
@@
-398,7
+398,6
@@
static struct platform_driver ufshcd_pltfrm_driver = {
.shutdown = ufshcd_pltfrm_shutdown,
.driver = {
.name = "ufshcd",
- .owner = THIS_MODULE,
.pm = &ufshcd_dev_pm_ops,
.of_match_table = ufs_of_match,
},