pinctrl: at91: Utilise temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Feb 2023 13:42:42 +0000 (15:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Mar 2023 12:52:35 +0000 (13:52 +0100)
commit00408f28c344fd1cafe6e66fe0f454607a2605f9
tree38a42a4efa2a0ab522dca356e7210dda107f425c
parent472bbb2cfd6384fe4c4b956af2170c1225fe2a92
pinctrl: at91: 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>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230215134242.37618-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c