summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-gpio.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-gpio.c
parentsoc: ti: drop owner assignment from platform_drivers (diff)
downloadlinux-14ac00e033c57983032993d3b7b3f70b16a9fdbd.tar.xz
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-gpio.c')
-rw-r--r--drivers/spi/spi-gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
index 9f595535cf27..4a00b7c15b05 100644
--- a/drivers/spi/spi-gpio.c
+++ b/drivers/spi/spi-gpio.c
@@ -524,7 +524,6 @@ MODULE_ALIAS("platform:" DRIVER_NAME);
static struct platform_driver spi_gpio_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(spi_gpio_dt_ids),
},
.probe = spi_gpio_probe,