gpio: xlp: Fix vulcan IRQ descriptor allocation
authorKamlakant Patel <kamlakant.patel@broadcom.com>
Sun, 5 Jun 2016 08:30:43 +0000 (14:00 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jun 2016 08:52:49 +0000 (10:52 +0200)
commit1630a0624a1b8e8d8d9c0cb1a584c5a9d4671101
tree3cb9f97f14ec1ab71c0d5dcad76780a48303671a
parent1bdb5c8e03f1dd657d8afdbd50910eaebfc822e4
gpio: xlp: Fix vulcan IRQ descriptor allocation

irq_alloc_descs need not be called in case of Vulcan, where we use
a dynamic IRQ range for GPIO interrupt numbers.

Update code not to call irq_alloc_descs and pass 0 as irq_base in
case of Vulcan.

Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xlp.c