ARM: omap2: gpmc: Remove redundant chip select out of range check
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 12 Feb 2013 19:22:24 +0000 (16:22 -0300)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 19:53:39 +0000 (14:53 -0500)
commitf5d8edaf1d06e922a3c3d75c52ef5628ceec32c4
tree03b4641f9dd634b99b8b19e2d3a42e57e7d3dccb
parent7ab91596a55e05410fcaab6d7d066ce0e0d0a712
ARM: omap2: gpmc: Remove redundant chip select out of range check

This check is done before the call to gpmc_cs_reserved() and
gpmc_cs_set_reserved() and it's redundant to do it again in each
function. This simplifies the code a bit.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
arch/arm/mach-omap2/gpmc.c