regulator: da9062: Make the use of IRQ optional
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Thu, 13 Jul 2023 09:03:28 +0000 (11:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Jul 2023 16:35:06 +0000 (17:35 +0100)
commit497897cb200d03b89524e6b4dfb71c77af324766
tree9343c1fe057d58bf8c6e8a95dff3da87de8a2976
parent933448e8d02be1fc3a63cd3fdcc01c87ce316fd3
regulator: da9062: Make the use of IRQ optional

This patch makes the use of IRQ optional to make the DA9061/62 usable
for designs that don't have the IRQ pin connected, because the regulator
is usable without IRQ.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Reviewed-by: Adam Ward <DLG-Adam.Ward.opensource@dm.renesas.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230713090328.3879-1-cniedermaier@dh-electronics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9062-regulator.c