brcmfmac: drop chip id from debug messages
authorDmitry Osipenko <digetx@gmail.com>
Sun, 30 Aug 2020 19:14:38 +0000 (22:14 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Sep 2020 08:51:44 +0000 (11:51 +0300)
The chip ID was already printed out at the time when debug message about
the changed F2 watermark is printed, hence let's drop the unnecessary part
of the debug messages. This cleans code a tad and also allows to re-use
the F2 watermark debug messages by multiple chips.

Suggested-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200830191439.10017-3-digetx@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c

index 005a056..991ca9e 100644 (file)
@@ -4274,7 +4274,7 @@ static void brcmf_sdio_firmware_callback(struct device *dev, int err,
                        break;
                case SDIO_DEVICE_ID_BROADCOM_4329:
                case SDIO_DEVICE_ID_BROADCOM_4339:
-                       brcmf_dbg(INFO, "set F2 watermark to 0x%x*4 bytes for 4339\n",
+                       brcmf_dbg(INFO, "set F2 watermark to 0x%x*4 bytes\n",
                                  CY_4339_F2_WATERMARK);
                        brcmf_sdiod_writeb(sdiod, SBSDIO_WATERMARK,
                                           CY_4339_F2_WATERMARK, &err);
@@ -4287,7 +4287,7 @@ static void brcmf_sdio_firmware_callback(struct device *dev, int err,
                                           CY_4339_MESBUSYCTRL, &err);
                        break;
                case SDIO_DEVICE_ID_BROADCOM_43455:
-                       brcmf_dbg(INFO, "set F2 watermark to 0x%x*4 bytes for 43455\n",
+                       brcmf_dbg(INFO, "set F2 watermark to 0x%x*4 bytes\n",
                                  CY_43455_F2_WATERMARK);
                        brcmf_sdiod_writeb(sdiod, SBSDIO_WATERMARK,
                                           CY_43455_F2_WATERMARK, &err);