summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:17 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:17 +0200
commit65c662ab63d2055d883bc97386aa779cbbb81f93 (patch)
tree60703d5df2dc9713dd1516f092e71004ead47549 /drivers/ata/ahci_st.c
parentamba: drop owner assignment from platform_drivers (diff)
downloadlinux-65c662ab63d2055d883bc97386aa779cbbb81f93.tar.xz
linux-65c662ab63d2055d883bc97386aa779cbbb81f93.zip
ata: drop owner assignment from platform_drivers
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>
Diffstat (limited to 'drivers/ata/ahci_st.c')
-rw-r--r--drivers/ata/ahci_st.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c
index 835d6eea84fd..2f9e8317cc16 100644
--- a/drivers/ata/ahci_st.c
+++ b/drivers/ata/ahci_st.c
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, st_ahci_match);
static struct platform_driver st_ahci_driver = {
.driver = {
.name = "st_ahci",
- .owner = THIS_MODULE,
.pm = &st_ahci_pm_ops,
.of_match_table = of_match_ptr(st_ahci_match),
},