summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irqchip.h
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-05-06 19:11:21 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-05-12 13:17:48 +0200
commit403fbdee4728afc4e5c4b0a24b8eac3b52595b39 (patch)
treef7c51c9af3adeb6e032b86861e0f6b41239cdb14 /drivers/irqchip/irqchip.h
parentpinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check (diff)
downloadlinux-403fbdee4728afc4e5c4b0a24b8eac3b52595b39.tar.xz
linux-403fbdee4728afc4e5c4b0a24b8eac3b52595b39.zip
pinctrl: lpc18xx: create pin cap lookup helper
Both pconf_get_pin and pconf_set_pin needs to lookup pin cap based on the pin number. Create a common helper function that both functions can use that also handles the case where no pin number is found in the pins array. This also fixes a small bug in pconf_get_pin where pconf_get_i2c0 would use the pins array index rather than the pin number. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/irqchip/irqchip.h')
0 files changed, 0 insertions, 0 deletions