diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-11-11 13:34:31 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-11-12 12:03:49 +0200 |
commit | d25dd66ae732f7752760d8f9306ba495de9dee8e (patch) | |
tree | 2318d9efcb74429477eaa0a82e173d56b160311a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 0ddebf8580fa32b1827dcc5230a6db6260096f5e (diff) |
pinctrl: lynxpoint: Use defined constant for disabled bias explicitly
We have a specific constant to describe a disabled bias,
i.e. GPIWP_NONE. Use it explicitly instead of making
an assumption about its value.
While at it, move argument assignment to the switch-case
in lp_pin_config_get().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions