diff options
| author | Geert Uytterhoeven <[email protected]> | 2020-10-28 15:15:01 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-10-30 15:57:12 +0100 |
| commit | 714d3a295854c14295fc633be1abbb947d2059a1 (patch) | |
| tree | e230599e03a4ef7209954beaf404356acfe7feab /scripts/gdb/linux/dmesg.py | |
| parent | 5e2ca893d772560a0926a31b88f8c83efbc6b058 (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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions