summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
parentb28af12d113ba8f301650f7487df32d439a8f741 (diff)
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>
Diffstat (limited to 'drivers')
-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,