projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c46ccc
)
regulator: tps6586x: Remove unused to_tps6586x_dev() function
author
Axel Lin
<axel.lin@ingics.com>
Tue, 27 May 2014 08:43:00 +0000
(16:43 +0800)
committer
Mark Brown
<broonie@linaro.org>
Tue, 27 May 2014 11:04:39 +0000
(12:04 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps6586x-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps6586x-regulator.c
b/drivers/regulator/tps6586x-regulator.c
index
e045b7f
..
0a3bb3a
100644
(file)
--- a/
drivers/regulator/tps6586x-regulator.c
+++ b/
drivers/regulator/tps6586x-regulator.c
@@
-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,