From: Uwe Kleine-König Date: Tue, 21 Oct 2014 09:40:45 +0000 (+0200) Subject: pinctrl: mxs: warn if functions are not grouped by name X-Git-Tag: omap-for-v3.19/fixes-rc1~135^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550;p=pandora-kernel.git 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 Acked-by: Shawn Guo Signed-off-by: Linus Walleij --- Reading git-diff-tree failed