aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh-sci.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:36 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:36 -0400
commit14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch)
tree761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-sh-sci.c
parent72c6293340bb2fea5ced8fdecc7d765fd6828731 (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-sci.c')
-rw-r--r--drivers/spi/spi-sh-sci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-sci.c b/drivers/spi/spi-sh-sci.c
index b83dd733684c..a9beeeed812c 100644
--- a/drivers/spi/spi-sh-sci.c
+++ b/drivers/spi/spi-sh-sci.c
@@ -187,7 +187,6 @@ static struct platform_driver sh_sci_spi_drv = {
187 .remove = sh_sci_spi_remove, 187 .remove = sh_sci_spi_remove,
188 .driver = { 188 .driver = {
189 .name = "spi_sh_sci", 189 .name = "spi_sh_sci",
190 .owner = THIS_MODULE,
191 }, 190 },
192}; 191};
193module_platform_driver(sh_sci_spi_drv); 192module_platform_driver(sh_sci_spi_drv);