mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:01:14 +07:00
sparc: kernel: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
1d5f672ea1
commit
de72024262
@ -178,7 +178,6 @@ MODULE_DEVICE_TABLE(of, apc_match);
|
||||
static struct platform_driver apc_driver = {
|
||||
.driver = {
|
||||
.name = "apc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = apc_match,
|
||||
},
|
||||
.probe = apc_probe,
|
||||
|
@ -135,7 +135,6 @@ static struct platform_driver auxio_driver = {
|
||||
.probe = auxio_probe,
|
||||
.driver = {
|
||||
.name = "auxio",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = auxio_match,
|
||||
},
|
||||
};
|
||||
|
@ -152,7 +152,6 @@ static struct platform_driver clock_board_driver = {
|
||||
.probe = clock_board_probe,
|
||||
.driver = {
|
||||
.name = "clock_board",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = clock_board_match,
|
||||
},
|
||||
};
|
||||
@ -257,7 +256,6 @@ static struct platform_driver fhc_driver = {
|
||||
.probe = fhc_probe,
|
||||
.driver = {
|
||||
.name = "fhc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = fhc_match,
|
||||
},
|
||||
};
|
||||
|
@ -810,7 +810,6 @@ MODULE_DEVICE_TABLE(of, us3mc_match);
|
||||
static struct platform_driver us3mc_driver = {
|
||||
.driver = {
|
||||
.name = "us3mc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = us3mc_match,
|
||||
},
|
||||
.probe = us3mc_probe,
|
||||
|
@ -708,7 +708,6 @@ static struct of_device_id grpci1_of_match[] = {
|
||||
static struct platform_driver grpci1_of_driver = {
|
||||
.driver = {
|
||||
.name = "grpci1",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = grpci1_of_match,
|
||||
},
|
||||
.probe = grpci1_of_probe,
|
||||
|
@ -900,7 +900,6 @@ static struct of_device_id grpci2_of_match[] = {
|
||||
static struct platform_driver grpci2_of_driver = {
|
||||
.driver = {
|
||||
.name = "grpci2",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = grpci2_of_match,
|
||||
},
|
||||
.probe = grpci2_of_probe,
|
||||
|
@ -508,7 +508,6 @@ static const struct of_device_id fire_match[] = {
|
||||
static struct platform_driver fire_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = fire_match,
|
||||
},
|
||||
.probe = fire_probe,
|
||||
|
@ -604,7 +604,6 @@ static const struct of_device_id psycho_match[] = {
|
||||
static struct platform_driver psycho_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = psycho_match,
|
||||
},
|
||||
.probe = psycho_probe,
|
||||
|
@ -600,7 +600,6 @@ static const struct of_device_id sabre_match[] = {
|
||||
static struct platform_driver sabre_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sabre_match,
|
||||
},
|
||||
.probe = sabre_probe,
|
||||
|
@ -1495,7 +1495,6 @@ static const struct of_device_id schizo_match[] = {
|
||||
static struct platform_driver schizo_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = schizo_match,
|
||||
},
|
||||
.probe = schizo_probe,
|
||||
|
@ -1010,7 +1010,6 @@ static const struct of_device_id pci_sun4v_match[] = {
|
||||
static struct platform_driver pci_sun4v_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = pci_sun4v_match,
|
||||
},
|
||||
.probe = pci_sun4v_probe,
|
||||
|
@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(of, pmc_match);
|
||||
static struct platform_driver pmc_driver = {
|
||||
.driver = {
|
||||
.name = "pmc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = pmc_match,
|
||||
},
|
||||
.probe = pmc_probe,
|
||||
|
@ -63,7 +63,6 @@ static struct platform_driver power_driver = {
|
||||
.probe = power_probe,
|
||||
.driver = {
|
||||
.name = "power",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = power_match,
|
||||
},
|
||||
};
|
||||
|
@ -322,7 +322,6 @@ static struct platform_driver clock_driver = {
|
||||
.probe = clock_probe,
|
||||
.driver = {
|
||||
.name = "rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = clock_match,
|
||||
},
|
||||
};
|
||||
|
@ -466,7 +466,6 @@ static struct platform_driver rtc_driver = {
|
||||
.probe = rtc_probe,
|
||||
.driver = {
|
||||
.name = "rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = rtc_match,
|
||||
},
|
||||
};
|
||||
@ -499,7 +498,6 @@ static struct platform_driver bq4802_driver = {
|
||||
.probe = bq4802_probe,
|
||||
.driver = {
|
||||
.name = "bq4802",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bq4802_match,
|
||||
},
|
||||
};
|
||||
@ -563,7 +561,6 @@ static struct platform_driver mostek_driver = {
|
||||
.probe = mostek_probe,
|
||||
.driver = {
|
||||
.name = "mostek",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = mostek_match,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user