diff options
author | 2011-05-16 18:20:34 +0800 | |
---|---|---|
committer | 2011-05-27 10:49:10 +0100 | |
commit | ecb9c4f5956afa2ca0a20a1f99932b9ff81de854 (patch) | |
tree | 185fd3b201008a711a99d7b0712e96e6639bed18 /tools/perf/scripts/python/sched-migration.py | |
parent | mfd: Fix off-by-one value range checking for tps65910_i2c_write (diff) | |
download | linux-dev-ecb9c4f5956afa2ca0a20a1f99932b9ff81de854.tar.xz linux-dev-ecb9c4f5956afa2ca0a20a1f99932b9ff81de854.zip |
regulator: Remove MAX8997_REG_BUCK1DVS/MAX8997_REG_BUCK2DVS/MAX8997_REG_BUCK5DVS macros
In current implementation, the original macro implementation assumes the caller
pass the parameter starting from 1 (to match the register names in datasheet).
Thus we have unneeded plus one then minus one operations
when using MAX8997_REG_BUCK1DVS/MAX8997_REG_BUCK2DVS/MAX8997_REG_BUCK5DVS macros.
This patch removes these macros to avoid unneeded plus one then minus one operations
without reducing readability.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions