mfd: tps65090: Don't tell child devices we have an IRQ if we don't
authorDoug Anderson <dianders@chromium.org>
Wed, 16 Apr 2014 23:12:25 +0000 (16:12 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Apr 2014 11:23:25 +0000 (12:23 +0100)
commit7d811771c95ebab358eca8e68b53efe09e3a6a96
tree0d9bac5ed6bd011c560f8383a9adc203076246a0
parenta798c10faf62a505d24e5f6213fbaf904a39623f
mfd: tps65090: Don't tell child devices we have an IRQ if we don't

If we weren't given an interrupt we shouldn't tell child devices (like
the tps65090 charger) that they have an interrupt.  This is needed so
that we can support polling mode in the tps65090 charger driver.

See also (charger: tps65090: Allow charger module to be used when no
irq).

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65090.c