Skip to content

Commit 7d89994

Browse files
krzkdamien-lemoal
authored andcommitted
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 <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 52f80bb commit 7d89994

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/ata/pata_macio.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,9 +1371,6 @@ static struct pci_driver pata_macio_pci_driver = {
13711371
.suspend = pata_macio_pci_suspend,
13721372
.resume = pata_macio_pci_resume,
13731373
#endif
1374-
.driver = {
1375-
.owner = THIS_MODULE,
1376-
},
13771374
};
13781375
MODULE_DEVICE_TABLE(pci, pata_macio_pci_match);
13791376

0 commit comments

Comments
 (0)