commit | 39b6f98bd55541a89eddaf59effeb75f6fe631f6 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Nov 10 20:53:29 2015 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 21 21:50:25 2015 -0500 |
tree | 51f5134a701a77ec374c923b69810387bb5910f3 | |
parent | 6717e3c84fc3934241eb02a3b437b06dede12594 [diff] |
eeprom: Pull out transfer length computation Pull out the code which computes the length of the transfer into separate code and clean it up a little. This again trims down the code duplication. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>