提交 ae8b70c9 编写于 作者: A Axel Lin 提交者: Mark Brown

regulator: tps6586x: Remove unused to_tps6586x_dev() function

Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 6c46ccc8
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册