diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-03-25 11:04:38 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-03-27 22:38:11 +0100 |
commit | 83522358438dd9de8567991f7366db510b3eb433 (patch) | |
tree | ac4a84a8dd248f1f90a8cca3bf6579709d7454ef /Documentation/hwmon/smsc47m192.rst | |
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>
Diffstat (limited to 'Documentation/hwmon/smsc47m192.rst')
0 files changed, 0 insertions, 0 deletions