summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-sysctrl.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-07-02 17:10:56 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:13 +0200
commitbad76991d7847b7877ae797cc79745d82ffd9120 (patch)
treedcb3c0ae53b8bfcfa9c9094b45cb55a276fe6ba4 /drivers/mfd/ab8500-sysctrl.c
parent2968ab133ec790134d4347aa4264c2eb064b42e7 (diff)
downloadtalos-op-linux-bad76991d7847b7877ae797cc79745d82ffd9120.tar.gz
talos-op-linux-bad76991d7847b7877ae797cc79745d82ffd9120.zip
mfd: Register ab8500 devices using the newly DT:ed MFD API
Now the MFD API is Device Tree aware we can use it for platform registration again, even when booting with DT enabled. To aid in Device Node pointer allocation we provide each cell with the associative compatible string. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-sysctrl.c')
-rw-r--r--drivers/mfd/ab8500-sysctrl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c
index 5a3e51ccf258..c28d4eb1eff0 100644
--- a/drivers/mfd/ab8500-sysctrl.c
+++ b/drivers/mfd/ab8500-sysctrl.c
@@ -61,16 +61,10 @@ static int __devexit ab8500_sysctrl_remove(struct platform_device *pdev)
return 0;
}
-static const struct of_device_id ab8500_sysctrl_match[] = {
- { .compatible = "stericsson,ab8500-sysctrl", },
- {}
-};
-
static struct platform_driver ab8500_sysctrl_driver = {
.driver = {
.name = "ab8500-sysctrl",
.owner = THIS_MODULE,
- .of_match_table = ab8500_sysctrl_match,
},
.probe = ab8500_sysctrl_probe,
.remove = __devexit_p(ab8500_sysctrl_remove),
OpenPOWER on IntegriCloud