diff options
-rw-r--r-- | drivers/mfd/max8907c.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/max8907c.c b/drivers/mfd/max8907c.c index 2c5774295164..d03dbced21e1 100644 --- a/drivers/mfd/max8907c.c +++ b/drivers/mfd/max8907c.c @@ -310,6 +310,9 @@ static int max8907c_i2c_probe(struct i2c_client *i2c, ret = max8097c_add_subdevs(max8907c, pdata); + if (pdata->use_power_off && !pm_power_off) + pm_power_off = max8907c_power_off; + if (pdata->max8907c_setup) return pdata->max8907c_setup(); |