summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/cna_fwimg.c
diff options
context:
space:
mode:
authorIvan Vecera2015-06-11 15:52:31 +0200
committerDavid S. Miller2015-06-12 00:57:18 +0200
commitecc467896d977f4f1a6dfee77652aab117ebfb73 (patch)
tree3d29bb05594c2b57e0c43b9e9892f5f009eb06d2 /drivers/net/ethernet/brocade/bna/cna_fwimg.c
parentbna: fix timeout API argument type (diff)
downloadkernel-qcow2-linux-ecc467896d977f4f1a6dfee77652aab117ebfb73.tar.gz
kernel-qcow2-linux-ecc467896d977f4f1a6dfee77652aab117ebfb73.tar.xz
kernel-qcow2-linux-ecc467896d977f4f1a6dfee77652aab117ebfb73.zip
bna: use netdev_* and dev_* instead of printk and pr_*
...and remove some of them. It is not necessary to log when .probe() and .remove() are called or when TxQ is started or stopped. Also log level of some of them was changed to more appropriate one (link up/down, firmware loading failure. Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/cna_fwimg.c')
-rw-r--r--drivers/net/ethernet/brocade/bna/cna_fwimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/cna_fwimg.c b/drivers/net/ethernet/brocade/bna/cna_fwimg.c
index badea368bdc8..2e7fb97883dc 100644
--- a/drivers/net/ethernet/brocade/bna/cna_fwimg.c
+++ b/drivers/net/ethernet/brocade/bna/cna_fwimg.c
@@ -33,7 +33,7 @@ cna_read_firmware(struct pci_dev *pdev, u32 **bfi_image,
u32 n;
if (request_firmware(&fw, fw_name, &pdev->dev)) {
- pr_alert("Can't locate firmware %s\n", fw_name);
+ dev_alert(&pdev->dev, "can't load firmware %s\n", fw_name);
goto error;
}