aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2018-11-12 04:05:20 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-11-21 13:55:06 -0500
commit6ed4babed9cc7eaa71522b5c10265ef3a4a06297 (patch)
tree5b32c1ce70eac71b7976c774da8092a2df475def /drivers/net/ethernet/intel/igc/igc_main.c
parent8166abb1ea7d53a26ac0e2598b77a5440216811a (diff)
igc: Remove obsolete IGC_ERR define
Address community comment. Remove obsolete IGC_ERR define and use dev_err method. Suggested by Joe Perches. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c
index 28ffe98f8921..f20183037fb2 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -3535,7 +3535,7 @@ static int igc_probe(struct pci_dev *pdev,
3535 err = dma_set_coherent_mask(&pdev->dev, 3535 err = dma_set_coherent_mask(&pdev->dev,
3536 DMA_BIT_MASK(32)); 3536 DMA_BIT_MASK(32));
3537 if (err) { 3537 if (err) {
3538 IGC_ERR("Wrong DMA configuration, aborting\n"); 3538 dev_err(&pdev->dev, "igc: Wrong DMA config\n");
3539 goto err_dma; 3539 goto err_dma;
3540 } 3540 }
3541 } 3541 }