gpio: sch: Utilise temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 1 Sep 2023 13:40:37 +0000 (16:40 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Apr 2024 13:12:18 +0000 (16:12 +0300)
commit2d485d47560eeb6e73f6db10c99f1dab2fa6e08f
tree5bf3dab92593d39f9289669306977f3399c93e2d
parentabaed898da91dc6ccaa839c299f9044f301e0b8f
gpio: sch: Utilise temporary variable for struct device

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-sch.c