]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: pca953x: Utilise temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Sep 2023 13:40:37 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:29:57 +0000 (16:29 +0100)
commit26f64b3ee51728b1fdbae4eb0a330b77d0f5f676
tree90408b7f7eb63c37bc0bbd55fa9f72a8544be3ae
parent2a968d1fd7bd6f47ac3248088bac3b792caee0ab
gpio: pca953x: Utilise temporary variable for struct device

[ Upstream commit 6811886ac91eb414b1b74920e05e6590c3f2a688 ]

We have a temporary variable to keep pointer to struct device.
Utilise it where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 014a17deb412 ("gpio: pca953x: handle short interrupt pulses on PCAL devices")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-pca953x.c