aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2016-09-19 03:39:02 -0400
committerLee Jones <lee.jones@linaro.org>2016-10-26 05:30:02 -0400
commit0aced355757ddc150f78a6bf4f8d885bd4eaf0e2 (patch)
tree2fdeaef6823af7af287d4484fae7230c18e986d1 /include/linux/mfd
parent1001354ca34179f3db924eb66672442a173147dc (diff)
mfd: tps65218: Remove redundant read wrapper
Currently read directly calls the repmap read function. Hence remove the redundant wrapper and use regmap read wherever needed. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65218.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h
index d1db9527fab5..51bef539091c 100644
--- a/include/linux/mfd/tps65218.h
+++ b/include/linux/mfd/tps65218.h
@@ -284,8 +284,6 @@ struct tps65218 {
284 struct regmap *regmap; 284 struct regmap *regmap;
285}; 285};
286 286
287int tps65218_reg_read(struct tps65218 *tps, unsigned int reg,
288 unsigned int *val);
289int tps65218_reg_write(struct tps65218 *tps, unsigned int reg, 287int tps65218_reg_write(struct tps65218 *tps, unsigned int reg,
290 unsigned int val, unsigned int level); 288 unsigned int val, unsigned int level);
291int tps65218_set_bits(struct tps65218 *tps, unsigned int reg, 289int tps65218_set_bits(struct tps65218 *tps, unsigned int reg,