Selaa lähdekoodia

drm/tegra: dc: Don't explicitly set owner module

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>
Thierry Reding 10 vuotta sitten
vanhempi
commit
76ac3284bb
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      drivers/gpu/drm/tegra/dc.c

+ 0 - 1
drivers/gpu/drm/tegra/dc.c

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