From: Sebastian Hesselbarth Date: Thu, 30 Jan 2014 23:01:22 +0000 (+0100) Subject: pinctrl: mvebu: identify generic controls by name X-Git-Tag: v3.15-rc1~150^2~24^2^2~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e310b745443e3142bcb268492409eeda3373f232;p=pandora-kernel.git pinctrl: mvebu: identify generic controls by name We treat unnamed controls as generic mvebu mpp register controls but we identify them by not being special controls. Flip the logic and use the name pointer as identification instead. While at it, add some comments explaining the not so obvious treatment. Signed-off-by: Sebastian Hesselbarth Tested-by: Andrew Lunn Tested-by: Thomas Petazzoni --- Reading git-diff-tree failed