summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:30:46 +0200
committerMark Brown <broonie@kernel.org>2015-07-14 19:10:43 +0200
commitf5e9fdaeb3ba48d9a5a6882614f42d0303355fae (patch)
tree1d5b9a99799f09424704df7b8769d65871fb2bf5 /drivers/spi
parentLinux 4.2-rc1 (diff)
downloadlinux-f5e9fdaeb3ba48d9a5a6882614f42d0303355fae.tar.xz
linux-f5e9fdaeb3ba48d9a5a6882614f42d0303355fae.zip
spi: xcomm: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-xcomm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c
index bb478dccf1d8..d0561a8d9f16 100644
--- a/drivers/spi/spi-xcomm.c
+++ b/drivers/spi/spi-xcomm.c
@@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = {
static struct i2c_driver spi_xcomm_driver = {
.driver = {
.name = "spi-xcomm",
- .owner = THIS_MODULE,
},
.id_table = spi_xcomm_ids,
.probe = spi_xcomm_probe,