summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/pcf8574_keypad.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/misc/pcf8574_keypad.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/misc/pcf8574_keypad.c')
-rw-r--r--drivers/input/misc/pcf8574_keypad.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/pcf8574_keypad.c b/drivers/input/misc/pcf8574_keypad.c
index 97f711a7bd20..4abdf1efb3e0 100644
--- a/drivers/input/misc/pcf8574_keypad.c
+++ b/drivers/input/misc/pcf8574_keypad.c
@@ -208,7 +208,6 @@ MODULE_DEVICE_TABLE(i2c, pcf8574_kp_id);
static struct i2c_driver pcf8574_kp_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
#ifdef CONFIG_PM
.pm = &pcf8574_kp_pm_ops,
#endif