| commit | 240b26284ac84f06ed0bc89c363f022e21b84b98 | [log] [tgz] |
|---|---|---|
| author | Johan Hovold <jhovold@gmail.com> | Thu May 26 04:37:32 2011 +0000 |
| committer | David S. Miller <davem@davemloft.net> | Thu May 26 14:30:51 2011 -0400 |
| tree | c2dba9d29f5f9322093edb5b98f5cf881fc62f76 | |
| parent | 12e6c419b48c4d1803918e5d952ebee07bae7465 [diff] |
net: davinci_emac: fix dev_err use at probe
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>