OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c9edc
)
thermal: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:39 +0000
(22:14 +0100)
committer
Zhang Rui
<rui.zhang@intel.com>
Mon, 22 Dec 2014 03:05:59 +0000
(11:05 +0800)
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>
drivers/thermal/rockchip_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/rockchip_thermal.c
b/drivers/thermal/rockchip_thermal.c
index
1bcddfc
..
9c6ce54
100644
(file)
--- 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,
},