aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2021-11-30 16:08:38 -0600
committerAndy Shevchenko <[email protected]>2021-12-01 15:10:26 +0200
commit2822b02765ed0609825d3532ea15de3914b59f09 (patch)
treee9586ceec63a2cca24170863ca22ffd979177edb /tools/perf/scripts/python/sched-migration.py
parent82b2cd4c8caebf0b61b39daf5e0ed6be170a4ae1 (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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions