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

index 862ba03c236ca1c42766cd8f94d4f4b93ceb5cdc..8241ed9b353c426176df85f19f9d1dff39aec866 100644 (file)
@@ -718,7 +718,6 @@ static const struct dev_pm_ops omapdrm_pm_ops = {
 static struct platform_driver pdev = {
                .driver = {
                        .name = DRIVER_NAME,
-                       .owner = THIS_MODULE,
 #ifdef CONFIG_PM
                        .pm = &omapdrm_pm_ops,
 #endif