Skip to contentSkip to conversation

regulator: tps6586x: Remove unused to_tps6586x_dev() function

PATCH Applied Axel Lin 2 participants 2 messages May 27, 2014 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: tps6586x: Remove unused to_tps6586x_dev() function

---
 drivers/regulator/tps6586x-regulator.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/regulator/tps6586x-regulator.c +0 -5
index e045b7f..0a3bb3a 100644
@@ -63,11 +63,6 @@ struct tps6586x_regulator {
 	int enable_reg[2];
 };
 
-static inline struct device *to_tps6586x_dev(struct regulator_dev *rdev)
-{
-	return rdev_get_dev(rdev)->parent;
-}
-
 static struct regulator_ops tps6586x_rw_regulator_ops = {
 	.list_voltage = regulator_list_voltage_table,
 	.map_voltage = regulator_map_voltage_ascend,
Signature · 1 line
1.8.3.2