diff options
author | Bjorn Helgaas <[email protected]> | 2021-11-30 16:08:38 -0600 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2021-12-01 15:10:26 +0200 |
commit | 2822b02765ed0609825d3532ea15de3914b59f09 (patch) | |
tree | e9586ceec63a2cca24170863ca22ffd979177edb /tools/perf/scripts/python/flamegraph.py | |
parent | 82b2cd4c8caebf0b61b39daf5e0ed6be170a4ae1 (diff) |
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 <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions