aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMichael Walle <mwalle@kernel.org>2025-07-03 13:31:52 +0200
committerMark Brown <broonie@kernel.org>2025-07-10 12:10:03 +0100
commite64ee27abfe1e9baea14b31c0a6b6bf93ac8652c (patch)
treef77d091611263c4dd7141ab8910ecf4a7e7952a8 /rust/helpers/helpers.c
parentregulator: tps6594-regulator: remove hardcoded buck config (diff)
downloadlinux-e64ee27abfe1e9baea14b31c0a6b6bf93ac8652c.tar.gz
linux-e64ee27abfe1e9baea14b31c0a6b6bf93ac8652c.zip
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: Michael Walle <mwalle@kernel.org> Acked-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/20250703113153.2447110-8-mwalle@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions