[PATCH v2 0/6] regulator: core: locking fixes and cleanups
From: Michał Mirosław
Date: Sat Aug 19 2023 - 20:29:45 EST
This series reduces regulator locking code complexity. The single fix is
more a cosmetic one as it applies to unexpected (WARN-generating) error
paths.
Michał Mirosław (6):
regulator: core: simplify regulator_lock_nested()
regulator: core: skip nesting lock for -EDEADLK
regulator: core: simplify nested locking
regulator: core: remove `goto`s from resolve_supply()
regulator: core: propagate error out ouf regulator_lock_two()
regulator: core: simplify lock_two()
drivers/regulator/core.c | 110 +++++++++++++++------------------------
1 file changed, 42 insertions(+), 68 deletions(-)
--
2.39.2