Re: [PATCH 1/2] gpio: mcp23s08: use regmap

2017-01-30 Thread Linus Walleij
On Fri, Jan 27, 2017 at 3:47 PM, Sebastian Reichel wrote: > 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 Patch applied. Irresistible cleanup! Yours, Linus Walleij

Re: [PATCH 1/2] gpio: mcp23s08: use regmap

2017-01-30 Thread Linus Walleij
On Fri, Jan 27, 2017 at 3:47 PM, Sebastian Reichel wrote: > 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 Patch applied. Irresistible cleanup! Yours, Linus Walleij

[PATCH 1/2] gpio: mcp23s08: use regmap

2017-01-27 Thread Sebastian Reichel
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 --- drivers/gpio/gpio-mcp23s08.c | 320 ++- 1 file changed, 130 insertions(+), 190 deletions(-) diff

[PATCH 1/2] gpio: mcp23s08: use regmap

2017-01-27 Thread Sebastian Reichel
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 --- drivers/gpio/gpio-mcp23s08.c | 320 ++- 1 file changed, 130 insertions(+), 190 deletions(-) diff --git