gpio/mxc: fix a bug with gpio_get_value calling
authorShawn Guo <shawn.guo@linaro.org>
Sat, 11 Jun 2011 17:33:29 +0000 (01:33 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 12 Jun 2011 03:01:41 +0000 (21:01 -0600)
commit5523f86beab2b87d42cd58aca9bd5cee5466c6e3
tree114919eb239117310aa48877752d0bc81d47eb3d
parent27810c5e7f8f2ddf036c16b5e40fd22abdc041f9
gpio/mxc: fix a bug with gpio_get_value calling

When calling gpio_get_value, the gpio number other than bit offset
should be passed as the argument.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-mxc.c