提交 efd285ea 编写于 作者: W Wolfram Sang

media: platform: davinci: 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: NWolfram Sang <wsa@the-dreams.de>
上级 e0eee332
...@@ -1030,7 +1030,6 @@ static int dm355_ccdc_remove(struct platform_device *pdev) ...@@ -1030,7 +1030,6 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
static struct platform_driver dm355_ccdc_driver = { static struct platform_driver dm355_ccdc_driver = {
.driver = { .driver = {
.name = "dm355_ccdc", .name = "dm355_ccdc",
.owner = THIS_MODULE,
}, },
.remove = dm355_ccdc_remove, .remove = dm355_ccdc_remove,
.probe = dm355_ccdc_probe, .probe = dm355_ccdc_probe,
......
...@@ -1029,7 +1029,6 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = { ...@@ -1029,7 +1029,6 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
static struct platform_driver dm644x_ccdc_driver = { static struct platform_driver dm644x_ccdc_driver = {
.driver = { .driver = {
.name = "dm644x_ccdc", .name = "dm644x_ccdc",
.owner = THIS_MODULE,
.pm = &dm644x_ccdc_pm_ops, .pm = &dm644x_ccdc_pm_ops,
}, },
.remove = dm644x_ccdc_remove, .remove = dm644x_ccdc_remove,
......
...@@ -1134,7 +1134,6 @@ static int isif_remove(struct platform_device *pdev) ...@@ -1134,7 +1134,6 @@ static int isif_remove(struct platform_device *pdev)
static struct platform_driver isif_driver = { static struct platform_driver isif_driver = {
.driver = { .driver = {
.name = "isif", .name = "isif",
.owner = THIS_MODULE,
}, },
.remove = isif_remove, .remove = isif_remove,
.probe = isif_probe, .probe = isif_probe,
......
...@@ -863,7 +863,6 @@ static int vpbe_remove(struct platform_device *device) ...@@ -863,7 +863,6 @@ static int vpbe_remove(struct platform_device *device)
static struct platform_driver vpbe_driver = { static struct platform_driver vpbe_driver = {
.driver = { .driver = {
.name = "vpbe_controller", .name = "vpbe_controller",
.owner = THIS_MODULE,
}, },
.probe = vpbe_probe, .probe = vpbe_probe,
.remove = vpbe_remove, .remove = vpbe_remove,
......
...@@ -1843,7 +1843,6 @@ static int vpbe_display_remove(struct platform_device *pdev) ...@@ -1843,7 +1843,6 @@ static int vpbe_display_remove(struct platform_device *pdev)
static struct platform_driver vpbe_display_driver = { static struct platform_driver vpbe_display_driver = {
.driver = { .driver = {
.name = VPBE_DISPLAY_DRIVER, .name = VPBE_DISPLAY_DRIVER,
.owner = THIS_MODULE,
.bus = &platform_bus_type, .bus = &platform_bus_type,
}, },
.probe = vpbe_display_probe, .probe = vpbe_display_probe,
......
...@@ -1585,7 +1585,6 @@ static struct platform_driver osd_driver = { ...@@ -1585,7 +1585,6 @@ static struct platform_driver osd_driver = {
.remove = osd_remove, .remove = osd_remove,
.driver = { .driver = {
.name = MODULE_NAME, .name = MODULE_NAME,
.owner = THIS_MODULE,
}, },
.id_table = vpbe_osd_devtype .id_table = vpbe_osd_devtype
}; };
......
...@@ -687,7 +687,6 @@ static struct platform_driver venc_driver = { ...@@ -687,7 +687,6 @@ static struct platform_driver venc_driver = {
.remove = venc_remove, .remove = venc_remove,
.driver = { .driver = {
.name = MODULE_NAME, .name = MODULE_NAME,
.owner = THIS_MODULE,
}, },
.id_table = vpbe_venc_devtype .id_table = vpbe_venc_devtype
}; };
......
...@@ -2031,7 +2031,6 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = { ...@@ -2031,7 +2031,6 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
static struct platform_driver vpfe_driver = { static struct platform_driver vpfe_driver = {
.driver = { .driver = {
.name = CAPTURE_DRV_NAME, .name = CAPTURE_DRV_NAME,
.owner = THIS_MODULE,
.pm = &vpfe_dev_pm_ops, .pm = &vpfe_dev_pm_ops,
}, },
.probe = vpfe_probe, .probe = vpfe_probe,
......
...@@ -467,7 +467,6 @@ static const struct dev_pm_ops vpif_pm = { ...@@ -467,7 +467,6 @@ static const struct dev_pm_ops vpif_pm = {
static struct platform_driver vpif_driver = { static struct platform_driver vpif_driver = {
.driver = { .driver = {
.name = "vpif", .name = "vpif",
.owner = THIS_MODULE,
.pm = vpif_pm_ops, .pm = vpif_pm_ops,
}, },
.remove = vpif_remove, .remove = vpif_remove,
......
...@@ -1656,7 +1656,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); ...@@ -1656,7 +1656,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume);
static __refdata struct platform_driver vpif_driver = { static __refdata struct platform_driver vpif_driver = {
.driver = { .driver = {
.name = VPIF_DRIVER_NAME, .name = VPIF_DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &vpif_pm_ops, .pm = &vpif_pm_ops,
}, },
.probe = vpif_probe, .probe = vpif_probe,
......
...@@ -1459,7 +1459,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); ...@@ -1459,7 +1459,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume);
static __refdata struct platform_driver vpif_driver = { static __refdata struct platform_driver vpif_driver = {
.driver = { .driver = {
.name = VPIF_DRIVER_NAME, .name = VPIF_DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &vpif_pm_ops, .pm = &vpif_pm_ops,
}, },
.probe = vpif_probe, .probe = vpif_probe,
......
...@@ -504,7 +504,6 @@ static const struct dev_pm_ops vpss_pm_ops = { ...@@ -504,7 +504,6 @@ static const struct dev_pm_ops vpss_pm_ops = {
static struct platform_driver vpss_driver = { static struct platform_driver vpss_driver = {
.driver = { .driver = {
.name = "vpss", .name = "vpss",
.owner = THIS_MODULE,
.pm = &vpss_pm_ops, .pm = &vpss_pm_ops,
}, },
.remove = vpss_remove, .remove = vpss_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册