Skip to content

Commit

Permalink
ata: pata_macio: drop driver owner assignment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
krzk authored and damien-lemoal committed Mar 31, 2024
1 parent 52f80bb commit 7d89994
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/ata/pata_macio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7d89994

Please sign in to comment.