Searched hist:"714 d3a29" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-rcar.c | 714d3a29 Wed Oct 28 09:15:01 CDT 2020 Geert Uytterhoeven <geert+renesas@glider.be> 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>
|