omap3evm: Change TWL related gpio API's to gpio*_cansleep
authorVaibhav Hiremath <hvaibhav@ti.com>
Tue, 25 Jan 2011 17:37:37 +0000 (17:37 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Feb 2011 22:16:09 +0000 (14:16 -0800)
commitf186e9b24f84e771124c6ee47e19dac5de35f987
tree18256409095e378989690111ca922bdca95712b0
parent9bc64b89cd730a09b02c66af730229e0abc9e2bb
omap3evm: Change TWL related gpio API's to gpio*_cansleep

Since TWL GPIO's can go into sleep, and using normal
gpio_get/set_value() API will lead to kernel dump (WARN_ON()).
So replacing standard gpio_get/set_value() to
gpio_get/set_value_cansleep().

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Reviewed-by: Charulatha V <charu@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm.c