From: Wolfram Sang Date: Sun, 21 Dec 2014 21:14:39 +0000 (+0100) Subject: thermal: drop owner assignment from platform_drivers X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0733d1387ed8b845a6b60121f06ddbe9e24f12ea;p=deliverable%2Flinux.git thermal: drop owner assignment from platform_drivers This platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 1bcddfc60e91..9c6ce548e363 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -677,7 +677,6 @@ static SIMPLE_DEV_PM_OPS(rockchip_thermal_pm_ops, static struct platform_driver rockchip_thermal_driver = { .driver = { .name = "rockchip-thermal", - .owner = THIS_MODULE, .pm = &rockchip_thermal_pm_ops, .of_match_table = of_rockchip_thermal_match, },