diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 15:35:00 +0900 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-08-03 23:10:23 +0800 |
commit | 6b5e38dccd2c72b62c57681861ba3594117d993e (patch) | |
tree | 7d8ea3109cd0c30cf7daa81f6ee6cbd42e30bcdc /drivers/thermal/hisi_thermal.c | |
parent | 74d33293e467df61de1b1d8b2fbe29e550dec33b (diff) | |
download | talos-obmc-linux-6b5e38dccd2c72b62c57681861ba3594117d993e.tar.gz talos-obmc-linux-6b5e38dccd2c72b62c57681861ba3594117d993e.zip |
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>
Diffstat (limited to 'drivers/thermal/hisi_thermal.c')
-rw-r--r-- | drivers/thermal/hisi_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c index d5dd357ba57c..b49f97c734d0 100644 --- a/drivers/thermal/hisi_thermal.c +++ b/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, }, |