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>
@@ -1680,7 +1680,6 @@ static struct platform_driver viu_of_platform_driver = {
#endif
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.of_match_table = mpc512x_viu_of_match,
},
};
@@ -1101,7 +1101,6 @@ static struct platform_driver deinterlace_pdrv = {
.remove = deinterlace_remove,
.name = MEM2MEM_NAME,
module_platform_driver(deinterlace_pdrv);
@@ -1060,7 +1060,6 @@ static struct platform_driver m2mtest_pdrv = {
.remove = m2mtest_remove,
@@ -1010,7 +1010,6 @@ static struct platform_driver emmaprp_pdrv = {
.remove = emmaprp_remove,
module_platform_driver(emmaprp_pdrv);
@@ -1235,7 +1235,6 @@ static struct platform_driver __refdata sh_veu_pdrv = {
.remove = sh_veu_remove,
.name = "sh_veu",
@@ -1449,7 +1449,6 @@ static struct platform_driver __refdata sh_vou = {
.remove = sh_vou_remove,
.name = "sh-vou",
@@ -857,7 +857,6 @@ static int timblogiw_remove(struct platform_device *pdev)
static struct platform_driver timblogiw_platform_driver = {
.name = DRIVER_NAME,
.probe = timblogiw_probe,
.remove = timblogiw_remove,