net: davinci_emac: fix dev_err use at probe
authorJohan Hovold <jhovold@gmail.com>
Thu, 26 May 2011 04:37:32 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2011 18:30:51 +0000 (14:30 -0400)
Use platform device rather than net device in dev_err calls before net
device has been registered to avoid messages such as

(null): DaVinci EMAC: Failed to get EMAC clock

Also replace remaining printks in probe with dev_{err,warn}.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c

Simple merge