summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2016-02-10 23:37:30 +0300
committerMark Brown <broonie@kernel.org>2016-02-13 01:35:00 +0300
commitd4930cf0ae33e944427f974f33bc43b8e6c56456 (patch)
tree1dd14a3a118d8549154e3e2d8ed37a6f53210347 /net/lapb/lapb_subr.c
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-d4930cf0ae33e944427f974f33bc43b8e6c56456.tar.xz
regulator: ltc3589: Make IRQ optional
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 Walle <bernhard@bwalle.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions