From: Stephen Warren Date: Thu, 15 Dec 2011 23:57:17 +0000 (-0700) Subject: pinctrl: pass name instead of device to pin_config_* X-Git-Tag: v3.3-rc1~127^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43699dea1ea21a0d5786317a794cb2ba27a6f4fe;p=pandora-kernel.git pinctrl: pass name instead of device to pin_config_* Obtaining a "struct pinctrl_dev *" is difficult for code not directly related to the pinctrl subsystem. However, the device name of the pinctrl device is fairly well known. So, modify pin_config_*() to take the device name instead of the "struct pinctrl_dev *". Signed-off-by: Stephen Warren [rebased on top of refactoring code] Signed-off-by: Linus Walleij --- Reading git-diff-tree failed