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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:20:53 +02:00
parent 0f0d7e7b02
commit 1a22cd1748
2 changed files with 0 additions and 2 deletions

View File

@ -645,7 +645,6 @@ static struct platform_driver rtsx_pci_ms_driver = {
.suspend = rtsx_pci_ms_suspend, .suspend = rtsx_pci_ms_suspend,
.resume = rtsx_pci_ms_resume, .resume = rtsx_pci_ms_resume,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRV_NAME_RTSX_PCI_MS, .name = DRV_NAME_RTSX_PCI_MS,
}, },
}; };

View File

@ -827,7 +827,6 @@ static struct platform_driver rtsx_usb_ms_driver = {
.remove = rtsx_usb_ms_drv_remove, .remove = rtsx_usb_ms_drv_remove,
.id_table = rtsx_usb_ms_ids, .id_table = rtsx_usb_ms_ids,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "rtsx_usb_ms", .name = "rtsx_usb_ms",
.pm = &rtsx_usb_ms_pm_ops, .pm = &rtsx_usb_ms_pm_ops,
}, },