diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:53 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:53 -0400 |
commit | 1a22cd17483e4e574b7c1d624be48b47404aea2d (patch) | |
tree | 671141c8af9b1dd710f2f6845b5ddd5058a0a5ab | |
parent | 0f0d7e7b022b2d3b03a613048954dffb4af9a9b8 (diff) |
memstick: host: 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>
-rw-r--r-- | drivers/memstick/host/rtsx_pci_ms.c | 1 | ||||
-rw-r--r-- | drivers/memstick/host/rtsx_usb_ms.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memstick/host/rtsx_pci_ms.c b/drivers/memstick/host/rtsx_pci_ms.c index c880ba685754..818fa94354ae 100644 --- a/drivers/memstick/host/rtsx_pci_ms.c +++ b/drivers/memstick/host/rtsx_pci_ms.c | |||
@@ -645,7 +645,6 @@ static struct platform_driver rtsx_pci_ms_driver = { | |||
645 | .suspend = rtsx_pci_ms_suspend, | 645 | .suspend = rtsx_pci_ms_suspend, |
646 | .resume = rtsx_pci_ms_resume, | 646 | .resume = rtsx_pci_ms_resume, |
647 | .driver = { | 647 | .driver = { |
648 | .owner = THIS_MODULE, | ||
649 | .name = DRV_NAME_RTSX_PCI_MS, | 648 | .name = DRV_NAME_RTSX_PCI_MS, |
650 | }, | 649 | }, |
651 | }; | 650 | }; |
diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c index a7282b7d4de8..1105db2355d2 100644 --- a/drivers/memstick/host/rtsx_usb_ms.c +++ b/drivers/memstick/host/rtsx_usb_ms.c | |||
@@ -827,7 +827,6 @@ static struct platform_driver rtsx_usb_ms_driver = { | |||
827 | .remove = rtsx_usb_ms_drv_remove, | 827 | .remove = rtsx_usb_ms_drv_remove, |
828 | .id_table = rtsx_usb_ms_ids, | 828 | .id_table = rtsx_usb_ms_ids, |
829 | .driver = { | 829 | .driver = { |
830 | .owner = THIS_MODULE, | ||
831 | .name = "rtsx_usb_ms", | 830 | .name = "rtsx_usb_ms", |
832 | .pm = &rtsx_usb_ms_pm_ops, | 831 | .pm = &rtsx_usb_ms_pm_ops, |
833 | }, | 832 | }, |