mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
powerpc: cpm_gpio: Remove owner assignment from platform_driver
Structure platform_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
8a792262f3
commit
c5cbde2df3
@@ -63,7 +63,6 @@ static struct platform_driver cpm_gpio_driver = {
|
|||||||
.probe = cpm_gpio_probe,
|
.probe = cpm_gpio_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "cpm-gpio",
|
.name = "cpm-gpio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = cpm_gpio_match,
|
.of_match_table = cpm_gpio_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user