summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-08-13 13:52:39 +0200
committerMark Brown <broonie@linaro.org>2014-08-16 17:15:47 -0500
commit9c0b8fd1a5493d0c5ab2fb147e758ca556e80863 (patch)
tree30568b1f845f4155060e44e4b22225232b2bc5ef /drivers/spi
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadblackbird-obmc-linux-9c0b8fd1a5493d0c5ab2fb147e758ca556e80863.tar.gz
blackbird-obmc-linux-9c0b8fd1a5493d0c5ab2fb147e758ca556e80863.zip
spi: xilinx: Remove .owner field for driver
There is no need to init .owner field. Based on the patch from Peter Griffin <peter.griffin@linaro.org> "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-xilinx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c
index 4d8efb16573d..79bd84f43430 100644
--- a/drivers/spi/spi-xilinx.c
+++ b/drivers/spi/spi-xilinx.c
@@ -471,7 +471,6 @@ static struct platform_driver xilinx_spi_driver = {
.remove = xilinx_spi_remove,
.driver = {
.name = XILINX_SPI_NAME,
- .owner = THIS_MODULE,
.of_match_table = xilinx_spi_of_match,
},
};
OpenPOWER on IntegriCloud