diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:17 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:17 -0400 |
commit | 65c662ab63d2055d883bc97386aa779cbbb81f93 (patch) | |
tree | 60703d5df2dc9713dd1516f092e71004ead47549 /drivers/ata/pata_imx.c | |
parent | 7ab6c54b5dc15732bf14c29bb21263efa49704bd (diff) |
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.c | 1 |
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 = { | |||
240 | .driver = { | 240 | .driver = { |
241 | .name = DRV_NAME, | 241 | .name = DRV_NAME, |
242 | .of_match_table = imx_pata_dt_ids, | 242 | .of_match_table = imx_pata_dt_ids, |
243 | .owner = THIS_MODULE, | ||
244 | .pm = &pata_imx_pm_ops, | 243 | .pm = &pata_imx_pm_ops, |
245 | }, | 244 | }, |
246 | }; | 245 | }; |