diff options
| author | Andy Shevchenko <[email protected]> | 2013-07-10 14:55:40 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2013-07-23 01:23:27 +0200 |
| commit | 496940c10278599528cfbde0e05208bf4ef0c7c0 (patch) | |
| tree | 46e30538c372f5d1e335c6096b0bfb12e61f258a /tools/perf/scripts/python/syscall-counts.py | |
| parent | 17e52464292320d0de260b146605d93326a9014c (diff) | |
pinctrl-baytrail: fix to avoid sparse warnings
There are couple of sparse warnings we could avoid if we use a bit verbose
version of the code in byt_gpio_direction_output().
drivers/pinctrl/pinctrl-baytrail.c:266:45: warning: dubious: x | !y
drivers/pinctrl/pinctrl-baytrail.c:267:36: warning: dubious: x | !y
Additionally simplify a bit the code in byt_gpio_direction_input().
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions