From: Ezequiel Garcia Date: Tue, 12 Feb 2013 19:22:19 +0000 (-0300) Subject: ARM: omap2: gpmc: Fix gpmc_cs_reserved() return value X-Git-Tag: omap-for-v3.10/gpmc-signed^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae9d908abc9e9d858a619faaf4d6647bdf3cb21f;p=pandora-kernel.git ARM: omap2: gpmc: Fix gpmc_cs_reserved() return value Currently gpmc_cs_reserved() return value is somewhat inconsistent, returning a negative value on an error condition, a positive value if the chip select is reserved and zero if it's available. Fix this by returning a boolean value as the function name suggests: * true if the chip select is reserved, * false if it's available Suggested-by: Felipe Balbi Signed-off-by: Ezequiel Garcia Reviewed-by: Jon Hunter Signed-off-by: Jon Hunter --- Reading git-diff-tree failed