ds2781_battery: Use DS2781_PARAM_EEPROM_SIZE and DS2781_USER_EEPROM_SIZE
authorAxel Lin <axel.lin@gmail.com>
Sat, 17 Mar 2012 07:37:31 +0000 (15:37 +0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 6 May 2012 02:58:41 +0000 (19:58 -0700)
commit13f2483cd5e3df425cfa492cc62cf8fada5d01b9
treebff2db8cb3f38c315bd1589631cc3c0706542cfe
parent840b91bda91ebaa6230caec0ccf005daf9305fb6
ds2781_battery: Use DS2781_PARAM_EEPROM_SIZE and DS2781_USER_EEPROM_SIZE

Since we have defined DS2781_PARAM_EEPROM_SIZE and
DS2781_USER_EEPROM_SIZE, use them to simplify the code.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/ds2781_battery.c