فهرست منبع

soc: tegra: fuse: drop owner assignment from platform_drivers

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>
Wolfram Sang 10 سال پیش
والد
کامیت
1135dc17bf
2فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 1
      drivers/soc/tegra/fuse/fuse-tegra20.c
  2. 0 1
      drivers/soc/tegra/fuse/fuse-tegra30.c

+ 0 - 1
drivers/soc/tegra/fuse/fuse-tegra20.c

@@ -158,7 +158,6 @@ static struct platform_driver tegra20_fuse_driver = {
 	.probe = tegra20_fuse_probe,
 	.driver = {
 		.name = "tegra20_fuse",
-		.owner = THIS_MODULE,
 		.of_match_table = tegra20_fuse_of_match,
 	}
 };

+ 0 - 1
drivers/soc/tegra/fuse/fuse-tegra30.c

@@ -130,7 +130,6 @@ static struct platform_driver tegra30_fuse_driver = {
 	.probe = tegra30_fuse_probe,
 	.driver = {
 		.name = "tegra_fuse",
-		.owner = THIS_MODULE,
 		.of_match_table = tegra30_fuse_of_match,
 	}
 };