diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-05-27 04:43:00 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-27 07:04:39 -0400 |
commit | ae8b70c9d8ff3c2120651c880a148596061dcbb2 (patch) | |
tree | e1a5f312e2500b2ed71dd6353f640d7ca790c3a7 /drivers/regulator/tps6586x-regulator.c | |
parent | 6c46ccc8bb0660c1805f6662d4646eb5405dcb2d (diff) |
regulator: tps6586x: Remove unused to_tps6586x_dev() function
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/tps6586x-regulator.c')
-rw-r--r-- | drivers/regulator/tps6586x-regulator.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index e045b7fe5572..0a3bb3aecd97 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c | |||
@@ -63,11 +63,6 @@ struct tps6586x_regulator { | |||
63 | int enable_reg[2]; | 63 | int enable_reg[2]; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | static inline struct device *to_tps6586x_dev(struct regulator_dev *rdev) | ||
67 | { | ||
68 | return rdev_get_dev(rdev)->parent; | ||
69 | } | ||
70 | |||
71 | static struct regulator_ops tps6586x_rw_regulator_ops = { | 66 | static struct regulator_ops tps6586x_rw_regulator_ops = { |
72 | .list_voltage = regulator_list_voltage_table, | 67 | .list_voltage = regulator_list_voltage_table, |
73 | .map_voltage = regulator_map_voltage_ascend, | 68 | .map_voltage = regulator_map_voltage_ascend, |