diff options
author | 2013-02-12 16:22:19 -0300 | |
---|---|---|
committer | 2013-04-01 14:53:36 -0500 | |
commit | ae9d908abc9e9d858a619faaf4d6647bdf3cb21f (patch) | |
tree | 4843c746c05a664d066adb84d4f1a9f07e01f57d /tools/perf/scripts/python/syscall-counts.py | |
parent | ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function (diff) | |
download | linux-dev-ae9d908abc9e9d858a619faaf4d6647bdf3cb21f.tar.xz linux-dev-ae9d908abc9e9d858a619faaf4d6647bdf3cb21f.zip |
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 <balbi@ti.com>
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions