mfd: ab8500-core: Use the correct driver name when enabling gpio/pinctrl
commiteb696c3181dd5b2266794776519120abdfe127d9
authorLee Jones <lee.jones@linaro.org>
Tue, 7 May 2013 10:29:55 +0000 (7 11:29 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 16 May 2013 22:42:32 +0000 (17 00:42 +0200)
treedee003c832467431d40533618a39e759c2c5852f
parent6999181eecb11863b78030c68037a9f851522735
mfd: ab8500-core: Use the correct driver name when enabling gpio/pinctrl

When we're using Device Tree to enable GPIO drivers we're forced to be
OS agnostic, thus we are forbidden use names like pinctrl as they are
specific only to Linux, at least for the time being. However, when we
are registering devices using internal systems such as MFD or platform
registration, we can use such terminology. In this case we can and
should use the platform device ID mechanism to specify which device we
wish to utilise by detailing pinctrl-<device_name>.

This patch fixes a regression that when booting with Device Tree
enabled the ABx500 GPIO/Pinctrl devices are not probed.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c