diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:36 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:36 -0400 |
commit | 14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch) | |
tree | 761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-sh.c | |
parent | 72c6293340bb2fea5ced8fdecc7d765fd6828731 (diff) |
spi: 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/spi/spi-sh.c')
-rw-r--r-- | drivers/spi/spi-sh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c index 8e171a76049f..1cfc906dd174 100644 --- a/drivers/spi/spi-sh.c +++ b/drivers/spi/spi-sh.c | |||
@@ -532,7 +532,6 @@ static struct platform_driver spi_sh_driver = { | |||
532 | .remove = spi_sh_remove, | 532 | .remove = spi_sh_remove, |
533 | .driver = { | 533 | .driver = { |
534 | .name = "sh_spi", | 534 | .name = "sh_spi", |
535 | .owner = THIS_MODULE, | ||
536 | }, | 535 | }, |
537 | }; | 536 | }; |
538 | module_platform_driver(spi_sh_driver); | 537 | module_platform_driver(spi_sh_driver); |