summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/smu.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:43 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:43 +0200
commitff3ad09b0dbc0d30764c7d46fecf99958781a921 (patch)
treec6ec09ce7aba46ab5e4570a1aa39665fcbce7ee4 /drivers/macintosh/smu.c
parentleds: drop owner assignment from platform_drivers (diff)
downloadlinux-ff3ad09b0dbc0d30764c7d46fecf99958781a921.tar.xz
linux-ff3ad09b0dbc0d30764c7d46fecf99958781a921.zip
macintosh: 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/macintosh/smu.c')
-rw-r--r--drivers/macintosh/smu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c
index 4eab93aa570b..10ae69bcbbd2 100644
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver =
{
.driver = {
.name = "smu",
- .owner = THIS_MODULE,
.of_match_table = smu_platform_match,
},
.probe = smu_platform_probe,