]> git.sur5r.net Git - u-boot/commit
miiphy: unify device list lookup
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Jul 2010 22:35:09 +0000 (18:35 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 9 Aug 2010 18:52:29 +0000 (11:52 -0700)
commit0daac97801fa5989d3740487aa824fbab9ff0503
treeef68e719ce34fb5064352ba0737b3ec6b63337e6
parent5700bb63522c2af9276f25a15448b61f19d72841
miiphy: unify device list lookup

Rather than have every func re-implement the list walking code, do it one
local function.  This shrinks the resulting object code a little while
making the source much more manageable.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
common/miiphyutil.c