Axel Lin 947934e389
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>
2022-09-26 16:10:33 +01:00
..
2021-06-04 15:27:10 +01:00
2020-05-08 18:18:13 +01:00
2022-09-19 15:44:16 +01:00
2019-12-17 13:08:41 -08:00
2022-03-07 13:15:01 +00:00
2022-03-07 13:15:01 +00:00