drm/tegra: dc: Don't explicitly set owner module
authorThierry Reding <treding@nvidia.com>
Fri, 7 Aug 2015 07:26:57 +0000 (09:26 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:47:43 +0000 (13:47 +0200)
The call to platform_driver_register() will already set up the .owner
field, so there's no need to do it explicitly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c

index 60be70fb89ae4540478b4ee68090288ed7f13acd..d60aa87d5152d6d3741be7dd1464e238cd20c4d7 100644 (file)
@@ -2091,7 +2091,6 @@ static int tegra_dc_remove(struct platform_device *pdev)
 struct platform_driver tegra_dc_driver = {
        .driver = {
                .name = "tegra-dc",
-               .owner = THIS_MODULE,
                .of_match_table = tegra_dc_of_match,
        },
        .probe = tegra_dc_probe,