Commit 23eec9e1 authored by Franky Lin's avatar Franky Lin Committed by Greg Kroah-Hartman

staging: brcm80211: remove SDLX_MSG from brcmfmac

Use unified debug macros in fullmac
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6bdc78fa
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <soc.h> #include <soc.h>
#include "dhd.h" #include "dhd.h"
#include "dhd_bus.h" #include "dhd_bus.h"
#include "dhd_dbg.h"
#include "sdio_host.h" #include "sdio_host.h"
#define SDIOH_API_ACCESS_RETRY_LIMIT 2 #define SDIOH_API_ACCESS_RETRY_LIMIT 2
...@@ -55,9 +56,6 @@ ...@@ -55,9 +56,6 @@
#define BRCMF_SD_INFO(x) #define BRCMF_SD_INFO(x)
#endif /* BCMDBG */ #endif /* BCMDBG */
/* debugging macros */
#define SDLX_MSG(x)
#define SDIOH_CMD_TYPE_NORMAL 0 /* Normal command */ #define SDIOH_CMD_TYPE_NORMAL 0 /* Normal command */
#define SDIOH_CMD_TYPE_APPEND 1 /* Append command */ #define SDIOH_CMD_TYPE_APPEND 1 /* Append command */
#define SDIOH_CMD_TYPE_CUTTHRU 2 /* Cut-through command */ #define SDIOH_CMD_TYPE_CUTTHRU 2 /* Cut-through command */
...@@ -486,7 +484,7 @@ int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev) ...@@ -486,7 +484,7 @@ int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
card = brcmf_sdcard_attach((void *)0, &regs); card = brcmf_sdcard_attach((void *)0, &regs);
if (!card) { if (!card) {
SDLX_MSG(("%s: attach failed\n", __func__)); BRCMF_ERROR(("%s: attach failed\n", __func__));
goto err; goto err;
} }
sdiodev->card = card; sdiodev->card = card;
...@@ -498,7 +496,7 @@ int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev) ...@@ -498,7 +496,7 @@ int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
sdiodev->bus = drvinfo.attach((vendevid >> 16), (vendevid & 0xFFFF), sdiodev->bus = drvinfo.attach((vendevid >> 16), (vendevid & 0xFFFF),
0, 0, 0, 0, regs, card); 0, 0, 0, 0, regs, card);
if (!sdiodev->bus) { if (!sdiodev->bus) {
SDLX_MSG(("%s: device attach failed\n", __func__)); BRCMF_ERROR(("%s: device attach failed\n", __func__));
goto err; goto err;
} }
...@@ -525,7 +523,6 @@ int brcmf_sdio_register(struct brcmf_sdioh_driver *driver) ...@@ -525,7 +523,6 @@ int brcmf_sdio_register(struct brcmf_sdioh_driver *driver)
{ {
drvinfo = *driver; drvinfo = *driver;
SDLX_MSG(("Linux Kernel SDIO/MMC Driver\n"));
return brcmf_sdio_function_init(); return brcmf_sdio_function_init();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment