summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 14:20:16 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 14:20:16 (GMT)
commite61bf8d05a2868963277746f2a8a36094bbfd331 (patch)
tree9bfb9dac4ad9eb87a00a4b79a4c0e0149ce4da10
parentb28af12d113ba8f301650f7487df32d439a8f741 (diff)
downloadlinux-e61bf8d05a2868963277746f2a8a36094bbfd331.tar.xz
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 fc5f780..868ea63 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,