Skip to content

Commit

Permalink
regulator: tps65217: Remove unused driver_data from of_match table
Browse files Browse the repository at this point in the history
We don't ever reference the driver_data we supply so remove it.

Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Mark Brown committed Sep 9, 2014
1 parent 81baf9f commit c2542d2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/regulator/tps65217-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c2542d2

Please sign in to comment.