]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: pca953x: Simplify code with cleanup helpers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Sep 2023 13:40:36 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:00 +0000 (14:40 +0200)
commitaa34c055d34a7dcd9d305f423804ced56e1018ba
treeb68f18c8dfc8552f8661cb58d3b712db6253cbc0
parentaf7488d114a92412c804d6d46e246faf409e0ae4
gpio: pca953x: Simplify code with cleanup helpers

[ Upstream commit 8e471b784a720f6f34f9fb449ba0744359dcaccb ]

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 3e38f946062b ("gpio: pca953x: fix IRQ storm on system wake up")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-pca953x.c