diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-30 16:08:39 -0600 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-01 15:10:26 +0200 |
commit | 06939f22ae5f7abf80d9a6ff5e43b4a916256f44 (patch) | |
tree | 14614a0e3a86389c58424348397001e9890392ce /drivers/gpio/gpio-stmpe.c | |
parent | 2822b02765ed0609825d3532ea15de3914b59f09 (diff) |
gpio: ml-ioh: Cache &pdev->dev to reduce repetition
ioh_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-stmpe.c')
0 files changed, 0 insertions, 0 deletions