diff options
author | Mark Brown <broonie@linaro.org> | 2014-09-07 15:22:01 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-09-09 22:22:19 (GMT) |
commit | c2542d2a867c22540c8ad64883288eabb891568d (patch) | |
tree | d032542e82b2d2e6e13c41d68233e4b7bf772add /drivers/regulator | |
parent | 81baf9fe0243a4450d738676ccf99d325460c748 (diff) | |
download | linux-c2542d2a867c22540c8ad64883288eabb891568d.tar.xz |
regulator: tps65217: Remove unused driver_data from of_match table
We don't ever reference the driver_data we supply so remove it.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/tps65217-regulator.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index 1cf16ae..4231546 100644 --- a/drivers/regulator/tps65217-regulator.c +++ b/drivers/regulator/tps65217-regulator.c @@ -171,13 +171,13 @@ static const struct regulator_desc regulators[] = { #ifdef CONFIG_OF static struct of_regulator_match reg_matches[] = { - { .name = "dcdc1", .driver_data = (void *)TPS65217_DCDC_1 }, - { .name = "dcdc2", .driver_data = (void *)TPS65217_DCDC_2 }, - { .name = "dcdc3", .driver_data = (void *)TPS65217_DCDC_3 }, - { .name = "ldo1", .driver_data = (void *)TPS65217_LDO_1 }, - { .name = "ldo2", .driver_data = (void *)TPS65217_LDO_2 }, - { .name = "ldo3", .driver_data = (void *)TPS65217_LDO_3 }, - { .name = "ldo4", .driver_data = (void *)TPS65217_LDO_4 }, + { .name = "dcdc1" }, + { .name = "dcdc2" }, + { .name = "dcdc3" }, + { .name = "ldo1" }, + { .name = "ldo2" }, + { .name = "ldo3" }, + { .name = "ldo4" }, }; static struct tps65217_board *tps65217_parse_dt(struct platform_device *pdev) |