diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-30 16:08:38 -0600 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-01 15:10:26 +0200 |
commit | 2822b02765ed0609825d3532ea15de3914b59f09 (patch) | |
tree | e9586ceec63a2cca24170863ca22ffd979177edb /drivers/gpio/gpio-ml-ioh.c | |
parent | 82b2cd4c8caebf0b61b39daf5e0ed6be170a4ae1 (diff) | |
download | linux-2822b02765ed0609825d3532ea15de3914b59f09.tar.bz2 |
gpio: pch: Cache &pdev->dev to reduce repetition
pch_gpio_probe() repeats the "&pdev->dev" expression several times. Cache
the result as "struct device *dev" to reduce the repetition. No functional
change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-ml-ioh.c')
0 files changed, 0 insertions, 0 deletions