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)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 11 Sep 2023 07:00:01 +0000 (09:00 +0200)
commitec5bde62019b0a5300c67bd81b9864a8ea12274e
treed93388068d12cf8c0f7c00c658d99dd673172fc4
parentc47f7ff0fe61738a40b1b4fef3cd8317ec314079
gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()

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>
drivers/gpio/gpio-pca953x.c