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>
This commit is contained in:
Keerthy
2016-09-19 13:09:02 +05:30
committed by Lee Jones
parent 1001354ca3
commit 0aced35575
4 changed files with 7 additions and 21 deletions

View File

@@ -284,8 +284,6 @@ struct tps65218 {
struct regmap *regmap;
};
int tps65218_reg_read(struct tps65218 *tps, unsigned int reg,
unsigned int *val);
int tps65218_reg_write(struct tps65218 *tps, unsigned int reg,
unsigned int val, unsigned int level);
int tps65218_set_bits(struct tps65218 *tps, unsigned int reg,