summaryrefslogtreecommitdiff
path: root/drivers/mfd/max8998.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:05:40 +0300
committerLee Jones <lee.jones@linaro.org>2015-08-11 17:08:48 +0300
commit0e777366fb0eba6facc44f0604fe6adbaf21d604 (patch)
tree99eb642253ab6a715acb68c6169697d97f98583a /drivers/mfd/max8998.c
parent66f2752fbb3b50ef816c41f07a6654610bb648ac (diff)
downloadlinux-0e777366fb0eba6facc44f0604fe6adbaf21d604.tar.xz
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/max8998.c')
-rw-r--r--drivers/mfd/max8998.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c
index a37cb7444b6e..a7afe3bf27fc 100644
--- a/drivers/mfd/max8998.c
+++ b/drivers/mfd/max8998.c
@@ -377,7 +377,6 @@ static const struct dev_pm_ops max8998_pm = {
static struct i2c_driver max8998_i2c_driver = {
.driver = {
.name = "max8998",
- .owner = THIS_MODULE,
.pm = &max8998_pm,
.of_match_table = of_match_ptr(max8998_dt_match),
},