summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-davinci.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:36 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:36 +0200
commit14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch)
tree761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-davinci.c
parent72c6293340bb2fea5ced8fdecc7d765fd6828731 (diff)
downloadblackbird-op-linux-14ac00e033c57983032993d3b7b3f70b16a9fdbd.tar.gz
blackbird-op-linux-14ac00e033c57983032993d3b7b3f70b16a9fdbd.zip
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-davinci.c')
-rw-r--r--drivers/spi/spi-davinci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index 63700ab7bd9f..b3707badb1e5 100644
--- a/drivers/spi/spi-davinci.c
+++ b/drivers/spi/spi-davinci.c
@@ -1119,7 +1119,6 @@ static int davinci_spi_remove(struct platform_device *pdev)
static struct platform_driver davinci_spi_driver = {
.driver = {
.name = "spi_davinci",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(davinci_spi_of_match),
},
.probe = davinci_spi_probe,
OpenPOWER on IntegriCloud