]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: cherryview: Utilize temporary variable to hold device pointer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jul 2020 12:02:30 +0000 (15:02 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Aug 2020 12:10:43 +0000 (15:10 +0300)
commit999b6c1b0073ac346843037957021c9d21e0e164
tree557b8ac3bcd429bbac492050450254357c7c8ab9
parent4f2743cf30a9ee670cd8f91972ca91db55ac75cd
pinctrl: cherryview: Utilize temporary variable to hold device pointer

By one of the previous clean up change we got a temporary variable to hold
a device pointer. It can be utilized in other calls in the ->probe() and
save a bit of LOCs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-cherryview.c