mirror of
https://github.com/torvalds/linux
synced 2024-09-16 09:05:45 +00:00
ata: pata_macio: drop driver owner assignment
PCI core in pci_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
This commit is contained in:
parent
52f80bb181
commit
7d899947bc
|
@ -1371,9 +1371,6 @@ static struct pci_driver pata_macio_pci_driver = {
|
|||
.suspend = pata_macio_pci_suspend,
|
||||
.resume = pata_macio_pci_resume,
|
||||
#endif
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, pata_macio_pci_match);
|
||||
|
||||
|
|
Loading…
Reference in a new issue