summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi
diff options
context:
space:
mode:
authorJason Kridner <jkridner@gmail.com>2019-01-11 10:02:13 -0500
committerLinus Walleij <linus.walleij@linaro.org>2019-01-21 14:18:15 +0100
commitf165988b77ef849eb0c1aebd94fe778024f88314 (patch)
tree93d688a7efcaa032c972a33fa363767f0d49a748 /drivers/pinctrl/sunxi
parente3f72b749da2bf63bed7409e416f160418d475b6 (diff)
pinctrl: mcp23s08: spi: Fix regmap allocation for mcp23s18
Fixes issue created by 9b3e4207661e67f04c72af15e29f74cd944f5964. It wasn't possible for one_regmap_config to be non-NULL at the point it was tested for mcp23s18 devices. Applied the same pattern of allocating one_regmap_config using devm_kmemdump() and then initializing the local regmap structure from that. Signed-off-by: Jason Kridner <jdk@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi')
0 files changed, 0 insertions, 0 deletions