]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
gpu: drm: sti: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:35 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:35 +0000 (16:20 +0200)
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>
drivers/gpu/drm/sti/sti_compositor.c
drivers/gpu/drm/sti/sti_drm_drv.c

index 390d93e9a06c18971175c0bd6164d05f2b0bdbed..9e31dfe154ed96f1ae48d25ad406a4b7987839e0 100644 (file)
@@ -267,7 +267,6 @@ static int sti_compositor_remove(struct platform_device *pdev)
 static struct platform_driver sti_compositor_driver = {
        .driver = {
                .name = "sti-compositor",
-               .owner = THIS_MODULE,
                .of_match_table = compositor_of_match,
        },
        .probe = sti_compositor_probe,
index 223d93c3a05d8d7241ad05b669562d0a160af4fa..8e64220e8796807e6a7251cac23998e4da6859e4 100644 (file)
@@ -184,7 +184,6 @@ static struct platform_driver sti_drm_master_driver = {
        .probe = sti_drm_master_probe,
        .remove = sti_drm_master_remove,
        .driver = {
-               .owner = THIS_MODULE,
                .name = DRIVER_NAME "__master",
        },
 };
@@ -228,7 +227,6 @@ static struct platform_driver sti_drm_platform_driver = {
        .probe = sti_drm_platform_probe,
        .remove = sti_drm_platform_remove,
        .driver = {
-               .owner = THIS_MODULE,
                .name = DRIVER_NAME,
                .of_match_table = sti_drm_dt_ids,
        },