mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
gpio: pca953x: Fully convert to device managed resources
[ Upstream commit53c59d66c4] Curtrently the error path is unsynchronised with removal due to regulator being disabled before other device managed resources are handled. Correct that by wrapping regulator enablement in the respective call. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Stable-dep-of:7cef813a91("gpio: pca953x: log an error when failing to get the reset GPIO") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e657dc10c4
commit
f66aed661b
1 changed files with 35 additions and 33 deletions
Loading…
Add table
Add a link
Reference in a new issue