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 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | gpio: pch: Cache &pdev->dev to reduce repetition (diff) | |
| download | linux-06939f22ae5f7abf80d9a6ff5e43b4a916256f44.tar.gz linux-06939f22ae5f7abf80d9a6ff5e43b4a916256f44.zip | |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
