forked from luck/tmp_suning_uos_patched
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:
parent
0f0d7e7b02
commit
1a22cd1748
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user