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 07:52:17 +0900 |
commit | 7d899947bca5e1dc2447d9cffb2b31c989e0ceb4 (patch) | |
tree | 88cbbc3769dcc2f200fc5c72c5678aa17cecf343 /drivers/ata | |
parent | 52f80bb181a9a1530ade30bc18991900bbb9697f (diff) |
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')
-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); |