summaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2022-09-19 15:23:53 +0300
committerMark Brown <broonie@kernel.org>2022-09-26 18:10:33 +0300
commit947934e389f716d505a656d04388b2ecbe43281d (patch)
tree90fd5aa56673a12cc1135bd595d8f2545104110b /drivers/ntb
parent21c93a95553d0a07091ff9894f09f5bffbfd8c8a (diff)
downloadlinux-947934e389f716d505a656d04388b2ecbe43281d.tar.xz
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 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions