macro_rules! gpio_irq_chip_register {
    ($reg:expr, $irqchip:ty, $count:expr, $base:expr, $parent:expr, $data:expr,
         $parent_irq:expr $(,)?) => { ... };
}
Expand description

Registers a gpio chip and its irq chip with the rest of the kernel.

It automatically defines the required lock classes.