sh-pfc: Merge sh_pfc_reconfig_pin() into sh_pfc_gpio_set_direction()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 10 Mar 2013 15:55:19 +0000 (16:55 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:54 +0000 (13:33 +0100)
commit0d00f00a1077ae89fb0ecbbba8da4c2c6bc93446
tree59a9f74dce11bf25ae3d7af2897e43ffe7d43359
parentc58d9c1b26e3ab2933abc7d5444e945ddad44809
sh-pfc: Merge sh_pfc_reconfig_pin() into sh_pfc_gpio_set_direction()

The sh_pfc_reconfig_pin() is only called from a single location. Merge
it into its call site to make the code easier to follow.

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