sh-pfc: Don't needlessly check GPIO type in sh_gpio_free()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 29 Nov 2012 17:00:32 +0000 (18:00 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:37 +0000 (13:33 +0100)
commit24d6b36e91b0503cd1c88b34fa793c0c65fa767d
treee7855b99d82ddf0da8d9a5b0ca8e809476a583b0
parent2119f7c9afaf4c5fe88e9ffec1f34c5bc6b02f78
sh-pfc: Don't needlessly check GPIO type in sh_gpio_free()

The GPIO type is always PINMUX_TYPE_FUNCTION when freeing a function
GPIO. Hardcode the type value.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/gpio.c