Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b5e38dc authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Zhang Rui
Browse files

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 74d33293
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -405,7 +405,6 @@ static SIMPLE_DEV_PM_OPS(hisi_thermal_pm_ops,
static struct platform_driver hisi_thermal_driver = {
static struct platform_driver hisi_thermal_driver = {
	.driver = {
	.driver = {
		.name		= "hisi_thermal",
		.name		= "hisi_thermal",
		.owner		= THIS_MODULE,
		.pm		= &hisi_thermal_pm_ops,
		.pm		= &hisi_thermal_pm_ops,
		.of_match_table = of_hisi_thermal_match,
		.of_match_table = of_hisi_thermal_match,
	},
	},