gpio: brcmstb: Use local variable to access OF node
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Dec 2021 13:15:38 +0000 (15:15 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 23 Dec 2021 16:08:53 +0000 (17:08 +0100)
commite85dd53a38bc32f411f90bd095b738fee46785f8
tree189fd4671d3b588a3026a33a2a1eb462029cb9b7
parent9804456e60670cc73f13361a3e628ecdf1bf7ee1
gpio: brcmstb: Use local variable to access OF node

We already have a local variable that contains a copy of OF node pointer.
Use it instead of dereferencing it again from struct device.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-brcmstb.c