gpio: omap: drop dev field from gpio_bank structure
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 4 Mar 2016 15:25:35 +0000 (17:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Mar 2016 11:07:14 +0000 (18:07 +0700)
commit7b1e5dc86c0030314f8f6e828177a6c5bb7b9006
tree433c5b6c5caa1a53cce1b45dc90343102ce0c31e
parent0bae2f17323a4630c487a9b77c37bebf407424af
gpio: omap: drop dev field from gpio_bank structure

GPIO chip structure already has "parent" field which is used for the
same purpose as "dev" field in gpio_bank structure - store pointer on
GPIO device.

Hence, drop duplicated "dev" field from gpio_bank structure.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c