pinctrl: mcp23s08: use managed kzalloc for mcp
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 15 May 2017 09:24:31 +0000 (11:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 May 2017 07:48:44 +0000 (09:48 +0200)
commit2f98e78b5a6b0f14073d677a224428e24b3bdccb
tree42d2c9cd4771680c693b49923b0138d295d3d5d8
parent2e29e7677275dd6b50d81890ae28f017234ea52c
pinctrl: mcp23s08: use managed kzalloc for mcp

Let's remove a few lines of code by using managed memory for mcp
variable.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-mcp23s08.c