]> git.sur5r.net Git - u-boot/commit
imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5)
authorVikram Narayanan <vikram186@gmail.com>
Tue, 10 Apr 2012 04:26:20 +0000 (04:26 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:53:59 +0000 (14:53 +0200)
commitbe282554627edbffea7d313242466b5f95dfda5a
tree1adf8ba4b33068c75da02ab9ef144b1d69317ea9
parent8d28c211f3435e77f3d83d7398f46faa1c891156
imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5)

Use the defined GPIO_TO_PORT macro. Remove gpio >> 5 references.

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/gpio/mxc_gpio.c