gpio: mcp23s08: use regmap
authorSebastian Reichel <sre@kernel.org>
Fri, 27 Jan 2017 14:47:37 +0000 (15:47 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2017 14:57:46 +0000 (15:57 +0100)
commit3d84fdb3f0b5367248b403b6d4da11e124eb71fa
treecf4d9807e7492a651dce3a7226f99dd52fbaea1d
parent38575edcabb4012cb79d02ba9e133cb31aad5137
gpio: mcp23s08: use regmap

Use regmap API to save some lines of codes and have
debugfs support for all of the MCP's registers.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mcp23s08.c