summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_macio.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-27 18:49:36 +0100
committerDamien Le Moal <dlemoal@kernel.org>2024-04-01 00:52:17 +0200
commit7d899947bca5e1dc2447d9cffb2b31c989e0ceb4 (patch)
tree88cbbc3769dcc2f200fc5c72c5678aa17cecf343 /drivers/ata/pata_macio.c
parentata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit (diff)
downloadlinux-7d899947bca5e1dc2447d9cffb2b31c989e0ceb4.tar.xz
linux-7d899947bca5e1dc2447d9cffb2b31c989e0ceb4.zip
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>
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r--drivers/ata/pata_macio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 4ac854f6b057..88b2e9817f49 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -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);