gpio: davinci: Remove gpio2regs function
authorKeerthy <j-keerthy@ti.com>
Tue, 17 Jan 2017 16:19:11 +0000 (21:49 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 09:00:20 +0000 (10:00 +0100)
commit8f7cf8c65746d94d58fa94edc134a22a7e528de4
tree47d8d74c073a61d20814eaa7d2393787ea484655
parentfbc2a294f29e726787a0f5238b27137904f26b81
gpio: davinci: Remove gpio2regs function

gpio2regs is written making an assumption that driver supports only
one instance of gpio controller. Removing this and adding a generic
array so as to support multiple instances of gpio controllers.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c