Files
erofs-linux/include/linux/gpio
Linus Walleij 739e6f5945 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: 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]>
2017-01-19 09:57:20 +01:00
..
…