aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-10-28 15:15:01 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-10-30 15:57:12 +0100
commit714d3a295854c14295fc633be1abbb947d2059a1 (patch)
treee230599e03a4ef7209954beaf404356acfe7feab /tools/perf/scripts/python/flamegraph.py
parent5e2ca893d772560a0926a31b88f8c83efbc6b058 (diff)
gpio: rcar: Cache gpiochip_get_data() return value
Since commit 43c54ecade400cf6 ("gpio: move the subdriver data pointer into gpio_device") changed gpiochip_get_data() to an out-of-line function, it is now worthwhile to avoid multiple calls in a row by caching its return value in a local variable. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions