diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-18 01:44:05 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-18 01:57:00 +0200 |
commit | 800e3b9a68011c4124f380d50e2117523c41a843 (patch) | |
tree | 43bdc609a78f9409d2d5088b3b8fc27380af2554 /drivers/input/touchscreen/elants_i2c.c | |
parent | Input: ambakmi - fix system PM by converting to modern callbacks (diff) | |
download | linux-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/elants_i2c.c')
-rw-r--r-- | drivers/input/touchscreen/elants_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index 0efd766a545b..746137694137 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -1261,7 +1261,6 @@ static struct i2c_driver elants_i2c_driver = { .id_table = elants_i2c_id, .driver = { .name = DEVICE_NAME, - .owner = THIS_MODULE, .pm = &elants_i2c_pm_ops, .acpi_match_table = ACPI_PTR(elants_acpi_id), .of_match_table = of_match_ptr(elants_of_match), |