summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-05-11 17:52:53 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-05-18 11:12:41 +0300
commit7b67b836625d9b8350aaec7ecd8347b0336f3f92 (patch)
treedece7d51e382583ec4c9f1c2fe7775224c0e8bb6 /Documentation/driver-api
parent22b3bc63da37dc3c24f877951ff7bf60737848cf (diff)
downloadlinux-7b67b836625d9b8350aaec7ecd8347b0336f3f92.tar.xz
mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro
i801_add_mux() fills in the GPIO lookup table by manually populating an array of gpiod_lookup structures. Use the existing GPIO_LOOKUP_IDX() helper macro instead, to relax a dependency on the gpiod_lookup structure's member names. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200511145257.22970-3-geert+renesas@glider.be Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions