From: Lee Jones Date: Wed, 18 Mar 2015 17:21:15 +0000 (+0000) Subject: pinctrl: st: Introduce a 'get pin function' call X-Git-Tag: omap-for-v4.2/o2_dc~138^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2a4bf47089823bb76d2498eebda922ecf99546d;p=pandora-kernel.git pinctrl: st: Introduce a 'get pin function' call This call fetches the numerical function value a specified pin is currently operating in. Function zero is more often than not the GPIO function. Greater than zero values represent an alternative function. You'd need to either look those up in the Device Tree sources or the Programmer's Manual. Acked-by: Maxime Coquelin Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed