gpio: max732x: convert to GPIOLIB_IRQCHIP

Take a sweep to bring the irq support for the MAX732x expanders
into the gpiolib core to cut down on duplicated code.

Only compile tested! I need some feedback from people using this
expander with interrupts to tell me if things go right or
wrong when I do this.

Cc: Semen Protsenko <[email protected]>
Cc: Mans Rullgard <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
2 files changed