Axel Lin ecb9c4f595 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>
2011-05-27 10:49:10 +01:00
..
2011-05-26 19:45:28 +02:00
2011-03-31 11:26:23 -03:00
2011-05-26 19:45:34 +02:00
2011-03-28 08:47:17 +02:00
2011-05-26 19:45:16 +02:00
2011-05-24 22:19:37 +02:00
2011-05-24 22:18:57 +02:00
2011-03-27 00:09:33 +01:00
2011-01-12 14:33:03 +00:00
2011-03-15 08:17:22 -07:00