pinctrl: spear: 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
66d0f85f10
commit
5a9a1e8437
|
@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match);
|
|||
static struct platform_driver plgpio_driver = {
|
||||
.probe = plgpio_probe,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "spear-plgpio",
|
||||
.pm = &plgpio_dev_pm_ops,
|
||||
.of_match_table = plgpio_of_match,
|
||||
|
|
|
@ -2712,7 +2712,6 @@ static int spear1310_pinctrl_remove(struct platform_device *pdev)
|
|||
static struct platform_driver spear1310_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear1310_pinctrl_of_match,
|
||||
},
|
||||
.probe = spear1310_pinctrl_probe,
|
||||
|
|
|
@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev)
|
|||
static struct platform_driver spear1340_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear1340_pinctrl_of_match,
|
||||
},
|
||||
.probe = spear1340_pinctrl_probe,
|
||||
|
|
|
@ -685,7 +685,6 @@ static int spear300_pinctrl_remove(struct platform_device *pdev)
|
|||
static struct platform_driver spear300_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear300_pinctrl_of_match,
|
||||
},
|
||||
.probe = spear300_pinctrl_probe,
|
||||
|
|
|
@ -408,7 +408,6 @@ static int spear310_pinctrl_remove(struct platform_device *pdev)
|
|||
static struct platform_driver spear310_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear310_pinctrl_of_match,
|
||||
},
|
||||
.probe = spear310_pinctrl_probe,
|
||||
|
|
|
@ -3449,7 +3449,6 @@ static int spear320_pinctrl_remove(struct platform_device *pdev)
|
|||
static struct platform_driver spear320_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spear320_pinctrl_of_match,
|
||||
},
|
||||
.probe = spear320_pinctrl_probe,
|
||||
|
|
Loading…
Reference in New Issue