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>
@@ -1030,7 +1030,6 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
static struct platform_driver dm355_ccdc_driver = {
.driver = {
.name = "dm355_ccdc",
- .owner = THIS_MODULE,
},
.remove = dm355_ccdc_remove,
.probe = dm355_ccdc_probe,
@@ -1029,7 +1029,6 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
static struct platform_driver dm644x_ccdc_driver = {
.name = "dm644x_ccdc",
.pm = &dm644x_ccdc_pm_ops,
.remove = dm644x_ccdc_remove,
@@ -1134,7 +1134,6 @@ static int isif_remove(struct platform_device *pdev)
static struct platform_driver isif_driver = {
.name = "isif",
.remove = isif_remove,
.probe = isif_probe,
@@ -863,7 +863,6 @@ static int vpbe_remove(struct platform_device *device)
static struct platform_driver vpbe_driver = {
.name = "vpbe_controller",
.probe = vpbe_probe,
.remove = vpbe_remove,
@@ -1843,7 +1843,6 @@ static int vpbe_display_remove(struct platform_device *pdev)
static struct platform_driver vpbe_display_driver = {
.name = VPBE_DISPLAY_DRIVER,
.bus = &platform_bus_type,
.probe = vpbe_display_probe,
@@ -1585,7 +1585,6 @@ static struct platform_driver osd_driver = {
.remove = osd_remove,
.name = MODULE_NAME,
.id_table = vpbe_osd_devtype
};
@@ -687,7 +687,6 @@ static struct platform_driver venc_driver = {
.remove = venc_remove,
.id_table = vpbe_venc_devtype
@@ -2031,7 +2031,6 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
static struct platform_driver vpfe_driver = {
.name = CAPTURE_DRV_NAME,
.pm = &vpfe_dev_pm_ops,
.probe = vpfe_probe,
@@ -467,7 +467,6 @@ static const struct dev_pm_ops vpif_pm = {
static struct platform_driver vpif_driver = {
.name = "vpif",
.pm = vpif_pm_ops,
.remove = vpif_remove,
@@ -1656,7 +1656,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume);
static __refdata struct platform_driver vpif_driver = {
.name = VPIF_DRIVER_NAME,
.pm = &vpif_pm_ops,
.probe = vpif_probe,
@@ -1459,7 +1459,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume);
@@ -504,7 +504,6 @@ static const struct dev_pm_ops vpss_pm_ops = {
static struct platform_driver vpss_driver = {
.name = "vpss",
.pm = &vpss_pm_ops,
.remove = vpss_remove,