mfd: Allow to specify max77686 interrupt through DT or platform file also
[deliverable/linux.git] / drivers / mfd / max77686.c
index 9e7e1d30f25fdb965d6eee8b64d00b946ae6772e..c66639d681e932d49e2f643d9ffd155b9a27196f 100644 (file)
@@ -77,6 +77,7 @@ static int max77686_i2c_probe(struct i2c_client *i2c,
 
        max77686->wakeup = pdata->wakeup;
        max77686->irq_gpio = pdata->irq_gpio;
+       max77686->irq = i2c->irq;
 
        if (regmap_read(max77686->regmap,
                         MAX77686_REG_DEVICE_ID, &data) < 0) {
This page took 0.031349 seconds and 5 git commands to generate.