summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/cros_ec_i2c.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 14:05:40 +0900
committerLee Jones <lee.jones@linaro.org>2015-08-11 15:08:48 +0100
commit0e777366fb0eba6facc44f0604fe6adbaf21d604 (patch)
tree99eb642253ab6a715acb68c6169697d97f98583a /drivers/mfd/cros_ec_i2c.c
parent66f2752fbb3b50ef816c41f07a6654610bb648ac (diff)
downloadop-kernel-dev-0e777366fb0eba6facc44f0604fe6adbaf21d604.zip
op-kernel-dev-0e777366fb0eba6facc44f0604fe6adbaf21d604.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec_i2c.c b/drivers/mfd/cros_ec_i2c.c
index b9a0963..d06e4b4 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,
OpenPOWER on IntegriCloud