commit | d25dd66ae732f7752760d8f9306ba495de9dee8e | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Nov 11 13:34:31 2020 +0200 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Nov 12 12:03:49 2020 +0200 |
tree | 2318d9efcb74429477eaa0a82e173d56b160311a | |
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>