Kaynağa Gözat

thermal: Drop owner assignment from platform_driver

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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Krzysztof Kozlowski 10 yıl önce
ebeveyn
işleme
6b5e38dccd
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      drivers/thermal/hisi_thermal.c

+ 0 - 1
drivers/thermal/hisi_thermal.c

@@ -405,7 +405,6 @@ static SIMPLE_DEV_PM_OPS(hisi_thermal_pm_ops,
 static struct platform_driver hisi_thermal_driver = {
 	.driver = {
 		.name		= "hisi_thermal",
-		.owner		= THIS_MODULE,
 		.pm		= &hisi_thermal_pm_ops,
 		.of_match_table = of_hisi_thermal_match,
 	},