ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup
authorSekhar Nori <nsekhar@ti.com>
Tue, 24 Apr 2018 14:35:06 +0000 (20:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:51 +0000 (04:02 +0900)
commit034a9e9b235efa6ab98b67cd0bac57496d702589
tree26818438d60dec1999131b59502e6f24ad68b1a5
parent0bf4a2db29648e1a7df776de41b1177aa7a037f2
ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup

[ Upstream commit d45622c0eaa5992a1a2248cbe93e1ff7a2da7be4 ]

commit c4dc56be7e26 ("ARM: davinci: fix the GPIO lookup for omapl138-hawk")
fixed the GPIO chip name for look-up of MMC/SD CD and WP pins, but forgot
to change the GPIO numbers passed.

The GPIO numbers are not offsets from within a 32 GPIO bank. Fix the
GPIO numbers as well as remove the misleading comment.

Fixes: c4dc56be7e26 ("ARM: davinci: fix the GPIO lookup for omapl138-hawk")
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/board-omapl138-hawk.c