]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Sep 2023 13:40:35 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:00 +0000 (14:40 +0200)
commitaf7488d114a92412c804d6d46e246faf409e0ae4
treef17fe7dd7153eb6b8dc6f6254aa1795711053026
parent59047be46c7d04c00980342dbd01ed21b22e3702
gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()

[ Upstream commit ec5bde62019b0a5300c67bd81b9864a8ea12274e ]

Split regcache handling to the respective helpers. It will allow to
have further refactoring with ease.

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