diff options
| author | Axel Lin <[email protected]> | 2022-09-19 12:23:53 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-09-26 15:10:33 +0000 |
| commit | 947934e389f716d505a656d04388b2ecbe43281d (patch) | |
| tree | 90fd5aa56673a12cc1135bd595d8f2545104110b /lib/fault-inject.c | |
| parent | regulator: qcom,rpmh: add pm660 and pm660l pmics (diff) | |
| download | kernel-947934e389f716d505a656d04388b2ecbe43281d.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
