summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ad7879-i2c.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-18 01:44:05 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-18 01:57:00 +0200
commit800e3b9a68011c4124f380d50e2117523c41a843 (patch)
tree43bdc609a78f9409d2d5088b3b8fc27380af2554 /drivers/input/touchscreen/ad7879-i2c.c
parentInput: ambakmi - fix system PM by converting to modern callbacks (diff)
downloadlinux-800e3b9a68011c4124f380d50e2117523c41a843.tar.xz
linux-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/ad7879-i2c.c')
-rw-r--r--drivers/input/touchscreen/ad7879-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c
index dcf390771549..d66962c5b1c2 100644
--- a/drivers/input/touchscreen/ad7879-i2c.c
+++ b/drivers/input/touchscreen/ad7879-i2c.c
@@ -94,7 +94,6 @@ MODULE_DEVICE_TABLE(i2c, ad7879_id);
static struct i2c_driver ad7879_i2c_driver = {
.driver = {
.name = "ad7879",
- .owner = THIS_MODULE,
.pm = &ad7879_pm_ops,
},
.probe = ad7879_i2c_probe,