]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: mcp23s08: simplify i2c pdata handling
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 15 May 2017 09:24:33 +0000 (11:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 May 2017 07:49:30 +0000 (09:49 +0200)
commit5f853acfa9242b3091c145265131232e246d95d4
treea47887b6fc4b83a67eec741fc74af3708f48b041
parentd0e49dabc60bf00b4a148742d3e4a16b1dbd8577
pinctrl: mcp23s08: simplify i2c pdata handling

Simplify i2c pdata handling, so that it uses pdata when available
and falls back to reading device properties otherwise.

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