summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xgene.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-01-11 13:37:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-01-19 09:57:20 +0100
commit739e6f5945d88dcee01590913f6886132a10c215 (patch)
tree5c53e38e08e39a10e827757c7057838e977e38fa /drivers/gpio/gpio-xgene.c
parent49def1853334396f948dcb4cedb9347abb318df5 (diff)
downloadlinux-739e6f5945d88dcee01590913f6886132a10c215.tar.gz
linux-739e6f5945d88dcee01590913f6886132a10c215.tar.bz2
linux-739e6f5945d88dcee01590913f6886132a10c215.zip
gpio: provide lockdep keys for nested/unnested irqchips
The helper function for adding a GPIO chip compiles in a lockdep key for debugging, the same key is needed for nested chips as well. The macro construction is unreadable, replace this with two static inlines instead. The _gpiochip_irqchip_add prefixed function is not helpful, rename it with gpiochip_irqchip_add_key() that tell us what the function is actually doing. Fixes: d245b3f9bd36 ("gpio: simplify adding threaded interrupts") Cc: Roger Quadros <rogerq@ti.com> Reported-by: Clemens Gruber <clemens.gruber@pqgruber.com> Reported-by: Roger Quadros <rogerq@ti.com> Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Tested-by: Clemens Gruber <clemens.gruber@pqgruber.com> Tested-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xgene.c')
0 files changed, 0 insertions, 0 deletions