diff options
author | Johan Hovold <jhovold@gmail.com> | 2011-05-26 04:37:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-26 14:30:51 -0400 |
commit | 240b26284ac84f06ed0bc89c363f022e21b84b98 (patch) | |
tree | c2dba9d29f5f9322093edb5b98f5cf881fc62f76 /net | |
parent | 12e6c419b48c4d1803918e5d952ebee07bae7465 (diff) | |
download | linux-3.10-240b26284ac84f06ed0bc89c363f022e21b84b98.tar.gz linux-3.10-240b26284ac84f06ed0bc89c363f022e21b84b98.tar.bz2 linux-3.10-240b26284ac84f06ed0bc89c363f022e21b84b98.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions