From: Linus Walleij Date: Tue, 30 Sep 2014 13:05:21 +0000 (+0200) Subject: pinctrl: nomadik: improve GPIO debug prints X-Git-Tag: fixes-for-v3.18-merge-window~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1774a2a97135db35c5f42531a148135158705a;p=pandora-kernel.git pinctrl: nomadik: improve GPIO debug prints The debugfs file would only define if the line was "pulled" and not which direction (pull up or pull down). Improve this by taking two print paths depending on whether the pin is set as input or output and use the data register directly to figure out whether the pin is set for pull up or pull down. Signed-off-by: Linus Walleij --- Reading git-diff-tree failed