gpu: drm: sti: 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:
Wolfram Sang 2014-10-20 16:20:35 +02:00
parent 1b53d63ab7
commit 31bc02b192
2 changed files with 0 additions and 3 deletions

View File

@ -267,7 +267,6 @@ static int sti_compositor_remove(struct platform_device *pdev)
static struct platform_driver sti_compositor_driver = { static struct platform_driver sti_compositor_driver = {
.driver = { .driver = {
.name = "sti-compositor", .name = "sti-compositor",
.owner = THIS_MODULE,
.of_match_table = compositor_of_match, .of_match_table = compositor_of_match,
}, },
.probe = sti_compositor_probe, .probe = sti_compositor_probe,

View File

@ -184,7 +184,6 @@ static struct platform_driver sti_drm_master_driver = {
.probe = sti_drm_master_probe, .probe = sti_drm_master_probe,
.remove = sti_drm_master_remove, .remove = sti_drm_master_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRIVER_NAME "__master", .name = DRIVER_NAME "__master",
}, },
}; };
@ -228,7 +227,6 @@ static struct platform_driver sti_drm_platform_driver = {
.probe = sti_drm_platform_probe, .probe = sti_drm_platform_probe,
.remove = sti_drm_platform_remove, .remove = sti_drm_platform_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRIVER_NAME, .name = DRIVER_NAME,
.of_match_table = sti_drm_dt_ids, .of_match_table = sti_drm_dt_ids,
}, },