Skip to content
Commit 13f2483c authored by Axel Lin's avatar Axel Lin Committed by Anton Vorontsov
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 840b91bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment