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)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 11 Sep 2023 07:00:04 +0000 (09:00 +0200)
commit6811886ac91eb414b1b74920e05e6590c3f2a688
treeb8326b9ce90d2b11f5fe45a626bc7e945e92de8d
parent8e471b784a720f6f34f9fb449ba0744359dcaccb
gpio: pca953x: Utilise temporary variable for struct device

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