Re: [PATCH] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Bernhard Walle
Hi, thanks for the review! Am 10.02.2016 10:44, schrieb Philipp Zabel: + IRQF_TRIGGER_LOW | IRQF_ONESHOT, + client->name, ltc3589); + if (ret) { + dev_err(dev, "Fail

Re: [PATCH] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Philipp Zabel
Am Dienstag, den 09.02.2016, 21:14 +0100 schrieb Bernhard Walle: > It's perfectly valid to use the LTC3589 without an interrupt pin > connected to it. Currently, the driver probing fails when client->irq > is 0 (which means "no interrupt"). Don't register the interrupt > handler in that case but su

[PATCH] regulator: ltc3589: Make IRQ optional

2016-02-09 Thread Bernhard Walle
It's perfectly valid to use the LTC3589 without an interrupt pin connected to it. Currently, the driver probing fails when client->irq is 0 (which means "no interrupt"). Don't register the interrupt handler in that case but successfully finish the device probing instead. Signed-off-by: Bernhard Wa