diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2019-07-29 10:53:31 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-29 08:23:41 -0700 |
commit | 08d80a4c90bdaa83680d1bdb58403fd8fe101885 (patch) | |
tree | b9dbfba1f37444fe5b3ae66b2b5d4fc30911b6ff /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | |
parent | net: hns3: Add support for using order 1 pages with a 4K buffer (diff) | |
download | linux-dev-08d80a4c90bdaa83680d1bdb58403fd8fe101885.tar.xz linux-dev-08d80a4c90bdaa83680d1bdb58403fd8fe101885.zip |
net: hns3: use dev_info() instead of pr_info()
dev_info() is more appropriate for printing messages when driver
initialization done, so switch to dev_info().
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c index a13a0e101c3b..ae0e6a69d54b 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c @@ -2695,7 +2695,8 @@ static int hclgevf_init_hdev(struct hclgevf_dev *hdev) } hdev->last_reset_time = jiffies; - pr_info("finished initializing %s driver\n", HCLGEVF_DRIVER_NAME); + dev_info(&hdev->pdev->dev, "finished initializing %s driver\n", + HCLGEVF_DRIVER_NAME); return 0; |