]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max597x: Don't return uninitialized variable in .probe
authorAxel Lin <axel.lin@ingics.com>
Thu, 14 Jul 2022 10:12:12 +0000 (18:12 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 14 Jul 2022 18:17:14 +0000 (19:17 +0100)
commit28552e7c2aaed6166ecb9ab16f17f1d92e9b40c6
treef785f77010feef63c2a4c67f92d4edadc5edbf41
parentf390356d55e94ddb333656f7ba1e50550cf690ce
regulator: max597x: Don't return uninitialized variable in .probe

Remove the code checking and returning uninitialized variable.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20220714101212.502824-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max597x-regulator.c