Commit aa34c055 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman
Browse files

gpio: pca953x: Simplify code with cleanup helpers



[ Upstream commit 8e471b78 ]

Use macros defined in linux/cleanup.h to automate resource lifetime
control in gpio-pca953x.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 3e38f946 ("gpio: pca953x: fix IRQ storm on system wake up")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent af7488d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment