sky2: use dev_err for error reports
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 6 Feb 2007 18:45:40 +0000 (10:45 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 7 Feb 2007 23:50:40 +0000 (18:50 -0500)
Use the standard dev_xxx functions instead of printk directly for
error reports. Fix a bug where the initialization would return 0
if allocation of network device failed.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found