pinctrl: lynxpoint: Correct amount of pins
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Oct 2019 18:25:43 +0000 (21:25 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Dec 2019 14:48:47 +0000 (16:48 +0200)
commit7c0bc7bb39ac89a454317d55262c06ec0048628b
treed0c3e97559211d9f419fb2d488439ee65b9d6e15
parentb2e05d63c295529879aabeb8781f947e1e2dca7b
pinctrl: lynxpoint: Correct amount of pins

When we count from 0 it's possible to get into off-by-one error.
That's what had happened to this driver. So, correct amount of pins
and related typos in the code.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-lynxpoint.c