diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-06-01 11:30:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-01 13:16:24 +0200 |
commit | 1e2735fe1b49cfa5dd668f61778aaaa46c6fe1c8 (patch) | |
tree | 2acf618358afd4cde6eefd6b44739588d01817ec /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 64379af8c6345623c985f00b272decd29057a8d5 (diff) |
staging: mt7621-gpio: use GPIOF_DIR_OUT and GPIOF_DIR_IN macros instead of custom values
There are macros in gpio kernel's headers to define direction
of a gpio. Use them instead of return custom '0' and '1' values.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions