habanalabs: minimize prints when everything is fine
authorOded Gabbay <ogabbay@kernel.org>
Fri, 2 Oct 2020 21:14:27 +0000 (00:14 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 30 Nov 2020 08:47:28 +0000 (10:47 +0200)
No need to print when the driver starts to initialize the H/W. Drivers
should be silent when everything is OK.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c

index ac0b4e0..817f14c 100644 (file)
@@ -2946,8 +2946,6 @@ static int gaudi_hw_init(struct hl_device *hdev)
 {
        int rc;
 
-       dev_info(hdev->dev, "Starting initialization of H/W\n");
-
        gaudi_pre_hw_init(hdev);
 
        gaudi_init_pci_dma_qmans(hdev);
index 235d47b..5b5e186 100644 (file)
@@ -2505,8 +2505,6 @@ static int goya_hw_init(struct hl_device *hdev)
        struct asic_fixed_properties *prop = &hdev->asic_prop;
        int rc;
 
-       dev_info(hdev->dev, "Starting initialization of H/W\n");
-
        /* Perform read from the device to make sure device is up */
        RREG32(mmPCIE_DBI_DEVICE_ID_VENDOR_ID_REG);