From: Stephen Warren Date: Fri, 9 Dec 2011 23:59:05 +0000 (-0700) Subject: pinctrl: don't create a device for each pin controller X-Git-Tag: v3.3-rc1~127^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51cd24ee625c348654114032499914d0311e5832;p=pandora-kernel.git pinctrl: don't create a device for each pin controller Pin controllers should already be instantiated as a device, so there's no need for the pinctrl core to create a new struct device for each controller. This allows the controller's real name to be used in the mux mapping table, rather than e.g. "pinctrl.0", "pinctrl.1", etc. This necessitates removal of the PINMUX_MAP_PRIMARY*() macros, since their sole purpose was to hard-code the .ctrl_dev_name field to be "pinctrl.0". Signed-off-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed