regulator: tps6594-regulator: remove interrupt_count
authorMichael Walle <mwalle@kernel.org>
Thu, 3 Jul 2025 11:31:50 +0000 (13:31 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Jul 2025 11:10:01 +0000 (12:10 +0100)
commit16d1a9bf36ef649b1fdb866985b4b87584491fac
treec045123e02f72aee7d0b431e4411900c8f61cb43
parent0c1ff10328213b894a2468c979ff4469c8f71f24
regulator: tps6594-regulator: remove interrupt_count

In .probe() interrupt_count and nr_types is essentially the same. It
contains the number of different interrupt per LDO or buck converter.
Drop one. This is a preparation patch to further simplify the handling
of different variants of this PMIC.

This patch is only compile-time tested.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20250703113153.2447110-6-mwalle@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps6594-regulator.c