Skip to content
Snippets Groups Projects
Commit 39b6f98b authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 6717e3c8
No related branches found
No related tags found
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