]> git.karo-electronics.de Git - linux-beck.git/commit
sh-pfc: Move GPIO registers access functions to gpio.c
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Feb 2013 01:04:55 +0000 (02:04 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:52 +0000 (13:33 +0100)
commit41f1219fae987f97787677d3a91c2f33ca9bab98
tree67bb0a15d45ae5100395a3c5248ebee10d5cdd8b
parentfd9d05b0fdb0a8a2bbe2451b9e520547813d0562
sh-pfc: Move GPIO registers access functions to gpio.c

Move the sh_pfc_setup_data_regs(), sh_pfc_setup_data_reg(),
sh_pfc_get_data_reg(), sh_pfc_read_bit() and sh_pfc_write_bit()
function to gpio.c as they belong to the GPIO implementation. Inline
sh_pfc_read_bit() and sh_pfc_write_bit() in their only call location.

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