gpio: merrifield: Utilise temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Feb 2023 18:03:42 +0000 (20:03 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 15:10:46 +0000 (17:10 +0200)
commitdc537030647a451bca169209d05b50d2ca3fe4f6
tree395e85695596ba5752c842964bd234d7ddc3e5de
parentdd0ccef23649d2e54aea1b317be36b2dbde0f329
gpio: merrifield: Utilise temporary variable for struct device

We have a temporary variable to keep pointer to struct device.
Utilise it inside the ->probe() implementation.

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