summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/msi-laptop.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:27 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:27 +0400
commit3493f4144bfd2f11923670b45a8290c8c6499c92 (patch)
tree7d3fafb2991d0480212694b685fd8593c1fa5105 /drivers/platform/x86/msi-laptop.c
parent38c53fa8f0b2bdf4e534a24bd224e4480d8d9dc4 (diff)
downloadlinux-3493f4144bfd2f11923670b45a8290c8c6499c92.tar.xz
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/msi-laptop.c')
-rw-r--r--drivers/platform/x86/msi-laptop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c
index 62f8030b9e77..a3f06cb1063f 100644
--- a/drivers/platform/x86/msi-laptop.c
+++ b/drivers/platform/x86/msi-laptop.c
@@ -573,7 +573,6 @@ static struct attribute_group msipf_old_attribute_group = {
static struct platform_driver msipf_driver = {
.driver = {
.name = "msi-laptop-pf",
- .owner = THIS_MODULE,
.pm = &msi_laptop_pm,
},
};