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-dw-mmio.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-dw-mmio.c')
-rw-r--r-- | drivers/spi/spi-dw-mmio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c index 21ce0e36fa00..eb03e1215195 100644 --- a/drivers/spi/spi-dw-mmio.c +++ b/drivers/spi/spi-dw-mmio.c | |||
@@ -135,7 +135,6 @@ static struct platform_driver dw_spi_mmio_driver = { | |||
135 | .remove = dw_spi_mmio_remove, | 135 | .remove = dw_spi_mmio_remove, |
136 | .driver = { | 136 | .driver = { |
137 | .name = DRIVER_NAME, | 137 | .name = DRIVER_NAME, |
138 | .owner = THIS_MODULE, | ||
139 | .of_match_table = dw_spi_mmio_of_match, | 138 | .of_match_table = dw_spi_mmio_of_match, |
140 | }, | 139 | }, |
141 | }; | 140 | }; |