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)
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>

No differences found