]> git.baikalelectronics.ru Git - kernel.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)
commita80010c96b07c11668bbcfafcfba734d0108407c
treea47887b6fc4b83a67eec741fc74af3708f48b041
parent0eca67116c54250f92dcebe4ccb44e6696751257
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