]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_i2c: introduced get_alen helper function
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 26 Mar 2010 08:46:41 +0000 (09:46 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 29 Mar 2010 11:28:57 +0000 (13:28 +0200)
commit2c0dc990202c69a6231122ec2463c4e3076a16f3
tree2cd1d1e4314b04e83f1c7bd0e274ca563e4a7a91
parenta266fe955a55bb7a03a67f3c91033068f317b337
cmd_i2c: introduced get_alen helper function

The code to parse alen appeared 6 times in the function.
Factored this out in a small helper function

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
common/cmd_i2c.c