summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:16 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:16 +0200
commite61bf8d05a2868963277746f2a8a36094bbfd331 (patch)
tree9bfb9dac4ad9eb87a00a4b79a4c0e0149ce4da10
parentx86: platform: olpc: drop owner assignment from platform_drivers (diff)
downloadlinux-e61bf8d05a2868963277746f2a8a36094bbfd331.tar.xz
linux-e61bf8d05a2868963277746f2a8a36094bbfd331.zip
acpi: apei: 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>
-rw-r--r--drivers/acpi/apei/ghes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index fc5f780bb61d..868ea63c94c7 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -1101,7 +1101,6 @@ static int ghes_remove(struct platform_device *ghes_dev)
static struct platform_driver ghes_platform_driver = {
.driver = {
.name = "GHES",
- .owner = THIS_MODULE,
},
.probe = ghes_probe,
.remove = ghes_remove,