summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/db8500-prcmu.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-06-20 13:56:41 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:09 +0200
commit5d90322bc85894105bbf738abc148135a619e01a (patch)
tree2528dc25da2c4173cfac1c7b198b7cb18efff2dc /drivers/regulator/db8500-prcmu.c
parentba7cbc3e15df1eb34a3a986b52ac82db3a569ab9 (diff)
downloadop-kernel-dev-5d90322bc85894105bbf738abc148135a619e01a.zip
op-kernel-dev-5d90322bc85894105bbf738abc148135a619e01a.tar.gz
mfd: Register db8500-prcmu 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/regulator/db8500-prcmu.c')
-rw-r--r--drivers/regulator/db8500-prcmu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c
index 9dbb491..359f8d1 100644
--- a/drivers/regulator/db8500-prcmu.c
+++ b/drivers/regulator/db8500-prcmu.c
@@ -547,16 +547,10 @@ static int __exit db8500_regulator_remove(struct platform_device *pdev)
return 0;
}
-static const struct of_device_id db8500_prcmu_regulator_match[] = {
- { .compatible = "stericsson,db8500-prcmu-regulator", },
- {}
-};
-
static struct platform_driver db8500_regulator_driver = {
.driver = {
.name = "db8500-prcmu-regulators",
.owner = THIS_MODULE,
- .of_match_table = db8500_prcmu_regulator_match,
},
.probe = db8500_regulator_probe,
.remove = __exit_p(db8500_regulator_remove),
OpenPOWER on IntegriCloud