summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8997.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/max8997.c
parent66f2752fbb3b50ef816c41f07a6654610bb648ac (diff)
downloadtalos-obmc-linux-0e777366fb0eba6facc44f0604fe6adbaf21d604.tar.gz
talos-obmc-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/max8997.c')
-rw-r--r--drivers/mfd/max8997.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 595364ee178a..d3cfa9cf5c8f 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -508,7 +508,6 @@ static const struct dev_pm_ops max8997_pm = {
static struct i2c_driver max8997_i2c_driver = {
.driver = {
.name = "max8997",
- .owner = THIS_MODULE,
.pm = &max8997_pm,
.of_match_table = of_match_ptr(max8997_pmic_dt_match),
},
OpenPOWER on IntegriCloud