diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-03-27 18:49:36 +0100 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-04-01 00:52:17 +0200 |
commit | 7d899947bca5e1dc2447d9cffb2b31c989e0ceb4 (patch) | |
tree | 88cbbc3769dcc2f200fc5c72c5678aa17cecf343 /drivers/ata/pata_macio.c | |
parent | ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit (diff) | |
download | linux-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.c | 3 |
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); |