diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-10-21 09:40:45 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-30 14:52:39 (GMT) |
commit | fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550 (patch) | |
tree | b97f86dae72a112c96707ff8f1a15b944c22da8b /drivers/pinctrl/sunxi | |
parent | cbd1b6529f07308bc4921a088b0f83895e403109 (diff) | |
download | linux-fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550.tar.xz |
pinctrl: mxs: warn if functions are not grouped by name
The mxs pinctrl driver cannot handle when functions are not grouped by
name (which IMO is a bug). This happens for example if a
imx28-somemachine.dts provides a function that has the same name as a
function defined in imx28.dtsi.
The proper way to fix that would be to check for duplicates in the loops
(which increases parsing time) or parse the groups first and sort the
resulting array.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi')
0 files changed, 0 insertions, 0 deletions