diff options
| author | Sergio Paracuellos <[email protected]> | 2018-05-20 15:00:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-25 18:49:32 +0200 |
| commit | b36dd3af48f65c0e498d62bb5e6c388b03f77608 (patch) | |
| tree | e525c3b58352df3928c345dc83484464502253ac /tools/perf/scripts/python/bin | |
| parent | e9301a5a8b6bc5097c76d12c1f07f8a6456bc341 (diff) | |
staging: mt7621-gpio: use ternary operator in return in mediatek_gpio_get_direction
This commits replaces if statement and two returns in favour
of a only one return using a ternary operator.
Signed-off-by: Sergio Paracuellos <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions