aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2018-07-11 18:33:19 +0200
committerLinus Walleij <[email protected]>2018-09-14 10:45:13 +0200
commitd0121b8548bcb9a640de38c13e239493c87c44f4 (patch)
treea80858c70e5850766297912b25776330fb392c8e /tools/perf/scripts/python/powerpc-hcalls.py
parentfa38869b0161484f28a7e1f34535d5825dca6488 (diff)
gpiolib: use better errno if get_direction is not available
EINVAL is very generic, use ENOTSUPP in case the gpiochip does not provide this function. While removing the assignment from the 'status' variable, use better indentation in the declaration block. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions