summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8907-regulator.c
diff options
context:
space:
mode:
authorMinghao Chi <chi.minghao@zte.com.cn>2022-01-04 13:41:39 +0300
committerMark Brown <broonie@kernel.org>2022-01-04 18:00:39 +0300
commit1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a (patch)
treeab264ecafb7ebaacb81149a3c4cca100bb2a0b83 /drivers/regulator/max8907-regulator.c
parentd27bb69dc83f00f86a830298c967052cded6e784 (diff)
downloadlinux-1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a.tar.xz
regulator: remove redundant ret variable
Return value from regmap_update_bits() directly instead of taking this in another redundant variable. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn> Signed-off-by: CGEL ZTE <cgel.zte@gmail.com> Link: https://lore.kernel.org/r/20220104104139.601031-1-chi.minghao@zte.com.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max8907-regulator.c')
0 files changed, 0 insertions, 0 deletions