diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2013-12-17 14:23:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-18 13:27:50 +0000 |
commit | d13733f4a24d93c582f22f17b5434cf195b7d505 (patch) | |
tree | 7168b747b76e2c0fc41c80fbd017889438d64c61 /arch/mips | |
parent | f37ff6b6ab9bff6f78dbfbdd123673a09e04cb7f (diff) | |
download | op-kernel-dev-d13733f4a24d93c582f22f17b5434cf195b7d505.zip op-kernel-dev-d13733f4a24d93c582f22f17b5434cf195b7d505.tar.gz |
regulator: s5m8767: Do not use sec_reg* regmap helpers
Replace calls to sec_reg* helpers with direct usage of regmap API. The
sec_reg* helpers are error-prone as they mix u8 with unsigned int and
order of some of parameters (val and mask in sec_reg_update()).
Also the helpers do not give any way of useful abstraction as they just
call corresponding regmap function.
This patch replaces:
- sec_reg_read() with regmap_read(),
- sec_reg_write() with regmap_write(),
- sec_reg_update() with regmap_update_bits().
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions