]> git.karo-electronics.de Git - linux-beck.git/commit
forcedeth: Separate vendor specific initializations into functions
authorJoe Perches <joe@perches.com>
Mon, 29 Nov 2010 07:41:59 +0000 (07:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2010 19:44:55 +0000 (11:44 -0800)
commitcd66328bdab782ee40d17b573a3067a591cb7b4f
treea3f619795b311c23ce467ec9848c076ccb2c5c83
parentc41d41e1687dcf344f55dd15c7121532e5c195d4
forcedeth: Separate vendor specific initializations into functions

Neaten the phy_init function by adding and calling vendor
specific functions.

object size is reduced by ~1kb:

$ size drivers/net/forcedeth.o.*
   text    data     bss     dec     hex filename
  83475    1848   19304  104627   198b3 drivers/net/forcedeth.o.new
  84459    1848   19544  105851   19d7b drivers/net/forcedeth.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c