Unverified Commit e64ee27a authored by Michael Walle's avatar Michael Walle Committed by Mark Brown
Browse files

regulator: tps6594-regulator: refactor variant descriptions



Instead of using conditionals or tri state operators throughout the
.probe() provide a description per variant. This will make it much
easier to add new variants later.

While at it, make the variable naming more consistent.

This patch is only compile-time tested.

Signed-off-by: default avatarMichael Walle <mwalle@kernel.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20250703113153.2447110-8-mwalle@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 180a135e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment