mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-03 16:13:17 +01:00
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: d245b3f9bd ("gpio: simplify adding threaded interrupts")
Cc: Roger Quadros <[email protected]>
Reported-by: Clemens Gruber <[email protected]>
Reported-by: Roger Quadros <[email protected]>
Reported-by: Grygorii Strashko <[email protected]>
Tested-by: Clemens Gruber <[email protected]>
Tested-by: Grygorii Strashko <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>