summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:34:28 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 18:05:46 +0200
commitf103a9c1a0ea1730fa3398366ffcc41c25ad8c9e (patch)
treed8eabe4615ce5b0b90e6e3a0036b6f9173c30b2c /drivers
parent[media] staging: iio: Drop owner assignment from i2c_driver (diff)
downloadlinux-f103a9c1a0ea1730fa3398366ffcc41c25ad8c9e.tar.xz
linux-f103a9c1a0ea1730fa3398366ffcc41c25ad8c9e.zip
[media] staging: 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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 0f524bb7b41d..1f9ba8beb061 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -1126,7 +1126,6 @@ MODULE_DEVICE_TABLE(i2c, synaptics_rmi4_id_table);
static struct i2c_driver synaptics_rmi4_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.pm = &synaptics_rmi4_dev_pm_ops,
},
.probe = synaptics_rmi4_probe,