summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wmi.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:27 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:27 +0200
commit3493f4144bfd2f11923670b45a8290c8c6499c92 (patch)
tree7d3fafb2991d0480212694b685fd8593c1fa5105 /drivers/platform/x86/hp-wmi.c
parentplatform: chrome: drop owner assignment from platform_drivers (diff)
downloadlinux-3493f4144bfd2f11923670b45a8290c8c6499c92.tar.xz
linux-3493f4144bfd2f11923670b45a8290c8c6499c92.zip
platform: x86: drop owner assignment from platform_drivers
A 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>
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
-rw-r--r--drivers/platform/x86/hp-wmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c
index 4c559640dcba..0ab2b377a778 100644
--- a/drivers/platform/x86/hp-wmi.c
+++ b/drivers/platform/x86/hp-wmi.c
@@ -1006,7 +1006,6 @@ static const struct dev_pm_ops hp_wmi_pm_ops = {
static struct platform_driver hp_wmi_driver = {
.driver = {
.name = "hp-wmi",
- .owner = THIS_MODULE,
.pm = &hp_wmi_pm_ops,
},
.remove = __exit_p(hp_wmi_bios_remove),