diff options
author | 2022-09-19 20:23:53 +0800 | |
---|---|---|
committer | 2022-09-26 16:10:33 +0100 | |
commit | 947934e389f716d505a656d04388b2ecbe43281d (patch) | |
tree | 90fd5aa56673a12cc1135bd595d8f2545104110b /scripts/generate_rust_analyzer.py | |
parent | regulator: qcom,rpmh: add pm660 and pm660l pmics (diff) | |
download | wireguard-linux-947934e389f716d505a656d04388b2ecbe43281d.tar.xz wireguard-linux-947934e389f716d505a656d04388b2ecbe43281d.zip |
regulator: tps65219: Fix is_enabled checking in tps65219_set_bypass
Testing .enable cannot tell if a regulator is enabled or not, check return
value of .is_enabled() instead.
Also remove unneeded ret variable.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20220919122353.384171-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions