summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-12-21 22:14:39 +0100
committerZhang Rui <rui.zhang@intel.com>2014-12-22 11:05:59 +0800
commit0733d1387ed8b845a6b60121f06ddbe9e24f12ea (patch)
treec38e91f03b02aeb94048af2bc5d71e9d2284c41c
parent32c9edc4e356063e0218362d452a269cfa6798ee (diff)
downloadlinux-0733d1387ed8b845a6b60121f06ddbe9e24f12ea.tar.gz
linux-0733d1387ed8b845a6b60121f06ddbe9e24f12ea.tar.bz2
linux-0733d1387ed8b845a6b60121f06ddbe9e24f12ea.zip
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 <wsa@the-dreams.de>
-rw-r--r--drivers/thermal/rockchip_thermal.c1
1 files changed, 0 insertions, 1 deletions
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,
},