pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser
authorThomas Preston <thomas.preston@codethink.co.uk>
Fri, 28 Aug 2020 21:32:25 +0000 (22:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 08:07:05 +0000 (09:07 +0100)
commit5aa9c3a05662cbe8786d899fac01c1e0b6157969
treec60aee985a2b63a33ad91900113f802db20ae25c
parent8ef9b6440f890fc60f0616aab90fd7c465ce81bd
pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser

[ Upstream commit b445f6237744df5e8d4f56f8733b2108c611220a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-mcp23s08.c