pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser
authorThomas Preston <thomas.preston@codethink.co.uk>
Fri, 28 Aug 2020 21:32:25 +0000 (22:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Sep 2020 09:31:19 +0000 (11:31 +0200)
commitb445f6237744df5e8d4f56f8733b2108c611220a
tree1d68e1d342b63307a86775767203bbf9fda30449
parentebc2599144b610a7e6e967ee89a769d908a3eeef
pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser

The mcp23x17_regmap is initialised with structs named "mcp23x16".
However, the mcp23s08 driver doesn't support the MCP23016 device yet, so
this appears to be a typo.

Fixes: 8f38910ba4f6 ("pinctrl: mcp23s08: switch to regmap caching")
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200828213226.1734264-2-thomas.preston@codethink.co.uk
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-mcp23s08.c