diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-03-19 22:17:41 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-27 09:51:22 +0100 |
commit | c7289500e29df3441a7167861424e7d77a167dfb (patch) | |
tree | 25c4c1ee3df0261f92281040cbdedf6326803cb3 /arch/arm/mach-ux500 | |
parent | 12149a20b86330d6eac71edaad0357541abdcd05 (diff) | |
download | linux-c7289500e29df3441a7167861424e7d77a167dfb.tar.bz2 |
pinctrl: pinconf-generic: scan also referenced phandle node
Make pinconf_generic_dt_node_to_map() also scan the dt pin configuration node
directly referenced by phandle, not only its child nodes.
The "parent scan" feature needs a few other changes:
* Move the pinconf_generic_dt_node_to_map() error handling code to a common
place, under the 'exit' label.
* Move the pins/groups strings count earlier in
pinconf_generic_dt_subnode_to_map(), to allow us to bail out early when
these properties are missing or wrong
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
0 files changed, 0 insertions, 0 deletions