diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-18 02:44:05 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-18 02:57:00 +0300 |
commit | 800e3b9a68011c4124f380d50e2117523c41a843 (patch) | |
tree | 43bdc609a78f9409d2d5088b3b8fc27380af2554 /drivers/input/misc/gp2ap002a00f.c | |
parent | cee3d8ccbecb8af6788edaaac46befca78b000dc (diff) | |
download | linux-800e3b9a68011c4124f380d50e2117523c41a843.tar.xz |
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/gp2ap002a00f.c')
-rw-r--r-- | drivers/input/misc/gp2ap002a00f.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/gp2ap002a00f.c b/drivers/input/misc/gp2ap002a00f.c index 0ac176d66a6f..ba301af91b95 100644 --- a/drivers/input/misc/gp2ap002a00f.c +++ b/drivers/input/misc/gp2ap002a00f.c @@ -271,7 +271,6 @@ static const struct i2c_device_id gp2a_i2c_id[] = { static struct i2c_driver gp2a_i2c_driver = { .driver = { .name = GP2A_I2C_NAME, - .owner = THIS_MODULE, .pm = &gp2a_pm, }, .probe = gp2a_probe, |