Searched hist:"0 c2c7e13" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-exar.c | 0c2c7e13 Mon Sep 28 09:34:37 CDT 2020 Bartosz Golaszewski <bgolaszewski@baylibre.com> gpio: exar: use a helper variable for &pdev->dev
It's more elegant to use a helper local variable to store the address of the underlying struct device than to dereference pdev everywhere. It also has the benefit of avoiding unnecessary line breaks.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|