提交 a01366b4 编写于 作者: K Kuninori Morimoto 提交者: Rafael J. Wysocki

ARM: shmobile: use common extra gpio functions on armadillo800eva

This patch switch over to use common extra gpio method,
and reduced a waste of code on SH-ARM.

But these functions should be replaced by correct
gpio function in the future.
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
上级 f7e566fa
......@@ -121,20 +121,6 @@
* # amixer set "Headphone" 50
*/
/*
* FIXME !!
*
* gpio_no_direction
*
* current gpio frame work doesn't have
* the method to control only pull up/down/free.
* this function should be replaced by correct gpio function
*/
static void __init gpio_no_direction(u32 addr)
{
__raw_writeb(0x00, addr);
}
/*
* USB function
*
......@@ -1087,8 +1073,8 @@ static void __init eva_init(void)
gpio_request(GPIO_PORT7, NULL);
gpio_request(GPIO_PORT8, NULL);
gpio_no_direction(GPIO_PORT7CR); /* FSIAOBT needs no direction */
gpio_no_direction(GPIO_PORT8CR); /* FSIAOLR needs no direction */
gpio_direction_none(GPIO_PORT7CR); /* FSIAOBT needs no direction */
gpio_direction_none(GPIO_PORT8CR); /* FSIAOLR needs no direction */
/* FSI-HDMI */
gpio_request(GPIO_FN_FSIBCK, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册