drm/rockchip: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 10:37:33 +0000 (19:37 +0900)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 13 Jul 2015 06:11:18 +0000 (14:11 +0800)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c

index 3962176..116fb9f 100644 (file)
@@ -554,7 +554,6 @@ static struct platform_driver rockchip_drm_platform_driver = {
        .probe = rockchip_drm_platform_probe,
        .remove = rockchip_drm_platform_remove,
        .driver = {
-               .owner = THIS_MODULE,
                .name = "rockchip-drm",
                .of_match_table = rockchip_drm_dt_ids,
                .pm = &rockchip_drm_pm_ops,