pinctrl: bcm2835: Remove unneeded irq_group field
authorThierry Reding <treding@nvidia.com>
Thu, 20 Jul 2017 16:59:12 +0000 (18:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:02 +0000 (15:01 +0200)
commit0d885e9da176ad3d689b4f33918a8b20f72521c7
treee4115b8d753cb5eb6158b4e98d8e868a16ae8c98
parent556ce55b7352a6634ffc97cece685e8efe7be181
pinctrl: bcm2835: Remove unneeded irq_group field

The irq_group field stores a 1:1 mapping. Use the loop variable to
derive the values instead of storing them in an extra array.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c