From: Kevin Hilman Date: Fri, 22 Apr 2011 14:59:07 +0000 (-0700) Subject: gpio/omap: replace get_gpio_index() by using bank width X-Git-Tag: v3.1-rc1~313^2~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=129fd2230733ff0457e76d6aabde136cf8666bc0;p=pandora-kernel.git gpio/omap: replace get_gpio_index() by using bank width The get_gpio_index() function, littered with cpu_is_* checks can be easily replaced by using bitops based on the GPIO bank width. Do so. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed