aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eepro100.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-06-27 11:39:50 -0400
committerJeff Garzik <jeff@garzik.org>2006-07-05 13:42:57 -0400
commit9b91cf9daac41eeaaea57ecfe68dc13bb0305fa9 (patch)
tree301308991315efc8dbe07ccfe1ee2f937b50a1c1 /drivers/net/eepro100.c
parent2e8a538d865de0eb9813c8a0f2284e920299c0cc (diff)
[netdrvr] use dev_xxx() printk helpers, rather than dev_printk(KERN_xxx, ...
Suggested by Jiri Slaby. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/eepro100.c')
-rw-r--r--drivers/net/eepro100.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c
index bccb12e03c2d..e445988c92ee 100644
--- a/drivers/net/eepro100.c
+++ b/drivers/net/eepro100.c
@@ -555,14 +555,12 @@ static int __devinit eepro100_init_one (struct pci_dev *pdev,
555 555
556 if (!request_region(pci_resource_start(pdev, 1), 556 if (!request_region(pci_resource_start(pdev, 1),
557 pci_resource_len(pdev, 1), "eepro100")) { 557 pci_resource_len(pdev, 1), "eepro100")) {
558 dev_printk (KERN_ERR, &pdev->dev, 558 dev_err(&pdev->dev, "eepro100: cannot reserve I/O ports\n");
559 "eepro100: cannot reserve I/O ports\n");
560 goto err_out_none; 559 goto err_out_none;
561 } 560 }
562 if (!request_mem_region(pci_resource_start(pdev, 0), 561 if (!request_mem_region(pci_resource_start(pdev, 0),
563 pci_resource_len(pdev, 0), "eepro100")) { 562 pci_resource_len(pdev, 0), "eepro100")) {
564 dev_printk (KERN_ERR, &pdev->dev, 563 dev_err(&pdev->dev, "eepro100: cannot reserve MMIO region\n");
565 "eepro100: cannot reserve MMIO region\n");
566 goto err_out_free_pio_region; 564 goto err_out_free_pio_region;
567 } 565 }
568 566
@@ -575,7 +573,7 @@ static int __devinit eepro100_init_one (struct pci_dev *pdev,
575 573
576 ioaddr = pci_iomap(pdev, pci_bar, 0); 574 ioaddr = pci_iomap(pdev, pci_bar, 0);
577 if (!ioaddr) { 575 if (!ioaddr) {
578 dev_printk (KERN_ERR, &pdev->dev, "eepro100: cannot remap IO\n"); 576 dev_err(&pdev->dev, "eepro100: cannot remap IO\n");
579 goto err_out_free_mmio_region; 577 goto err_out_free_mmio_region;
580 } 578 }
581 579