Skip to content
Unverified Commit 48aa4730 authored by ye xingchen's avatar ye xingchen Committed by Mark Brown
Browse files

regulator: max597x: Remove the unneeded result variable



Return the value from regmap_write() directly instead of storing it
 in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220824074707.221159-1-ye.xingchen@zte.com.cn


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