diff options
author | Johan Hovold <jhovold@gmail.com> | 2011-05-26 06:37:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-26 20:30:51 +0200 |
commit | 240b26284ac84f06ed0bc89c363f022e21b84b98 (patch) | |
tree | c2dba9d29f5f9322093edb5b98f5cf881fc62f76 /drivers/power/wm97xx_battery.c | |
parent | can: convert to %pK for kptr_restrict support (diff) | |
download | linux-240b26284ac84f06ed0bc89c363f022e21b84b98.tar.xz linux-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 'drivers/power/wm97xx_battery.c')
0 files changed, 0 insertions, 0 deletions