ARM: OMAP: Switch to gpio_request/free calls
Switch to gpio_request/free calls Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:

committed by
Tony Lindgren

parent
e031ab23de
commit
f2d18fea8b
@@ -124,7 +124,7 @@ static void mipid_dev_init(void)
|
||||
|
||||
static void ads7846_dev_init(void)
|
||||
{
|
||||
if (omap_request_gpio(ADS7846_PENDOWN_GPIO) < 0)
|
||||
if (gpio_request(ADS7846_PENDOWN_GPIO, "ADS7846 pendown") < 0)
|
||||
printk(KERN_ERR "can't get ads7846 pen down GPIO\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user