gpio: omap: simplify omap_set_gpio_dataout_x()
authorGrygorii Strashko <grygorii.strashko@linaro.org>
Mon, 23 Mar 2015 12:18:24 +0000 (14:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2015 10:03:55 +0000 (11:03 +0100)
commit04ebcbd82ec3b6fb88644e983f85224e95cf55e5
treeae987ba42a299fab5057349ff34e483d40b7fc80
parentb2b2004550f4b18ed16929107f478005fadfdb5c
gpio: omap: simplify omap_set_gpio_dataout_x()

Both functions omap_set_gpio_dataout_reg() and
omap_set_gpio_dataout_mask() accept GPIO offset
as 'gpio' input parameter, so rename it to 'offset' and
drop usage of GPIO_BIT() macro.

Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c