diff options
author | Chris Lapa <chris@lapa.com.au> | 2016-06-24 12:26:10 +1000 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-06-28 20:05:41 +0200 |
commit | 3525e5c5b3dea03ff999c53be6392819165df820 (patch) | |
tree | 000cf21a53dad6c897a23081e4d9e9648ccdc5ed /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 88a469bbb2012448db266f3783448c673be7208a (diff) |
max8903: removes non zero validity checks on gpios.
Prior to this commit a zero gpio was treated as invalid. Whereas
gpio_is_valid() will treat a zero gpio as valid.
This commit removes the confusion and explicitly uses gpio_is_valid()
throughout. Which in turn results in several of the error messages becoming
redundant and thus removed.
Signed-off-by: Chris Lapa <chris@lapa.com.au>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions