diff options
author | Minghao Chi <chi.minghao@zte.com.cn> | 2022-01-04 10:41:39 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-04 15:00:39 +0000 |
commit | 1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a (patch) | |
tree | ab264ecafb7ebaacb81149a3c4cca100bb2a0b83 /drivers/spi | |
parent | d27bb69dc83f00f86a830298c967052cded6e784 (diff) | |
download | linux-1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a.tar.gz linux-1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a.tar.bz2 linux-1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a.zip |
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/spi')
0 files changed, 0 insertions, 0 deletions