pinctrl: don't create a device for each pin controller
authorStephen Warren <swarren@nvidia.com>
Fri, 9 Dec 2011 23:59:05 +0000 (16:59 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jan 2012 08:10:06 +0000 (09:10 +0100)
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 <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found