summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/cyttsp_i2c.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-17 16:44:05 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-17 16:57:00 -0700
commit800e3b9a68011c4124f380d50e2117523c41a843 (patch)
tree43bdc609a78f9409d2d5088b3b8fc27380af2554 /drivers/input/touchscreen/cyttsp_i2c.c
parentcee3d8ccbecb8af6788edaaac46befca78b000dc (diff)
downloadlwn-800e3b9a68011c4124f380d50e2117523c41a843.tar.gz
lwn-800e3b9a68011c4124f380d50e2117523c41a843.zip
Input: 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/cyttsp_i2c.c')
-rw-r--r--drivers/input/touchscreen/cyttsp_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c
index 63104a86a9bd..519e2de2f8df 100644
--- a/drivers/input/touchscreen/cyttsp_i2c.c
+++ b/drivers/input/touchscreen/cyttsp_i2c.c
@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(i2c, cyttsp_i2c_id);
static struct i2c_driver cyttsp_i2c_driver = {
.driver = {
.name = CY_I2C_NAME,
- .owner = THIS_MODULE,
.pm = &cyttsp_pm_ops,
},
.probe = cyttsp_i2c_probe,