summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_imx.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/pata_imx.c
parent7ab6c54b5dc15732bf14c29bb21263efa49704bd (diff)
downloadlinux-65c662ab63d2055d883bc97386aa779cbbb81f93.tar.bz2
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/pata_imx.c')
-rw-r--r--drivers/ata/pata_imx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index 989ff5ac69ec..139d20778b29 100644
--- a/drivers/ata/pata_imx.c
+++ b/drivers/ata/pata_imx.c
@@ -240,7 +240,6 @@ static struct platform_driver pata_imx_driver = {
.driver = {
.name = DRV_NAME,
.of_match_table = imx_pata_dt_ids,
- .owner = THIS_MODULE,
.pm = &pata_imx_pm_ops,
},
};