mfd: ab8500-core: Pass GPADC compatible string to MFD core
authorLee Jones <lee.jones@linaro.org>
Wed, 8 May 2013 13:29:09 +0000 (14:29 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 16 May 2013 22:42:33 +0000 (00:42 +0200)
commit955de2eab3fd89bc6d5735817710926ba5817450
tree2f3bc01040812feab04b2f80543df15054cb2e71
parenta3ef0deb0fa45781ab653d7c9271e02c152076f1
mfd: ab8500-core: Pass GPADC compatible string to MFD core

When booting with Device Tree enabled the MFD core uses each device's
compatible string to find and allocate its associated of_node pointer,
which in turn is passed to the driver via the platform_device struct.
Without it, the driver won't be able to interrogate the Device Tree or
locate suitable regulators and will most likely fail to probe.

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