aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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
parentgpiolib: cdev: add GPIO_V2_LINE_FLAG_EDGE_BOTH and use it in edge_irq_thread() (diff)
downloadlinux-714d3a295854c14295fc633be1abbb947d2059a1.tar.gz
linux-714d3a295854c14295fc633be1abbb947d2059a1.zip
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')
0 files changed, 0 insertions, 0 deletions