diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 07:05:40 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-11 16:08:48 +0200 |
commit | 0e777366fb0eba6facc44f0604fe6adbaf21d604 (patch) | |
tree | 99eb642253ab6a715acb68c6169697d97f98583a /drivers/mfd/cros_ec_i2c.c | |
parent | mfd: wm8994-regmap: Constify reg_default tables (diff) | |
download | linux-0e777366fb0eba6facc44f0604fe6adbaf21d604.tar.xz linux-0e777366fb0eba6facc44f0604fe6adbaf21d604.zip |
mfd: Drop owner assignment from i2c_drivers
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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/cros_ec_i2c.c')
-rw-r--r-- | drivers/mfd/cros_ec_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec_i2c.c b/drivers/mfd/cros_ec_i2c.c index b9a0963ca5c3..d06e4b46db80 100644 --- a/drivers/mfd/cros_ec_i2c.c +++ b/drivers/mfd/cros_ec_i2c.c @@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(i2c, cros_ec_i2c_id); static struct i2c_driver cros_ec_driver = { .driver = { .name = "cros-ec-i2c", - .owner = THIS_MODULE, .pm = &cros_ec_i2c_pm_ops, }, .probe = cros_ec_i2c_probe, |