OSDN Git Service

gpu: drm: armada: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:32 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:32 +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/armada/armada_drv.c

index f672e6a..ff0f945 100644 (file)
@@ -485,7 +485,6 @@ static struct platform_driver armada_drm_platform_driver = {
        .remove = armada_drm_remove,
        .driver = {
                .name   = "armada-drm",
-               .owner  = THIS_MODULE,
        },
        .id_table = armada_drm_platform_ids,
 };