commit | 83522358438dd9de8567991f7366db510b3eb433 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Mar 25 11:04:38 2020 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Mar 27 22:38:11 2020 +0100 |
tree | ac4a84a8dd248f1f90a8cca3bf6579709d7454ef | |
parent | 8ced32ffadc857eaa45d62c0c5a34cf6f37168ea [diff] |
gpiolib: Pass gpio_desc to gpio_set_config() All callers of gpio_set_config() have to convert a gpio_desc to a gpio_chip and offset. Avoid these duplicated conversion steps by letting gpio_set_config() take a gpio_desc pointer directly. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200325100439.14000-2-geert+renesas@glider.be Signed-off-by: Linus Walleij <linus.walleij@linaro.org>