Commit 7d899947 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Damien Le Moal

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 52f80bb1
...@@ -1371,9 +1371,6 @@ static struct pci_driver pata_macio_pci_driver = { ...@@ -1371,9 +1371,6 @@ static struct pci_driver pata_macio_pci_driver = {
.suspend = pata_macio_pci_suspend, .suspend = pata_macio_pci_suspend,
.resume = pata_macio_pci_resume, .resume = pata_macio_pci_resume,
#endif #endif
.driver = {
.owner = THIS_MODULE,
},
}; };
MODULE_DEVICE_TABLE(pci, pata_macio_pci_match); MODULE_DEVICE_TABLE(pci, pata_macio_pci_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment