brcmfmac: add stub version of brcmf_debugfs_get_devdir()
authorRafał Miłecki <rafal@milecki.pl>
Sun, 1 Sep 2019 11:34:35 +0000 (13:34 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Sep 2019 14:08:56 +0000 (17:08 +0300)
commitcb34212b1c25f7656a315f956d72696777e88340
treed10fe5f8a87041293e04d9dca098b3bcee31690f
parenta18da8f6194978c2b32a8367fb0df81cc6417848
brcmfmac: add stub version of brcmf_debugfs_get_devdir()

In case of compiling driver without DEBUG expose a stub function to make
writing debug code much simpler (no extra conditions). This will allow
e.g. using debugfs_create_file() without any magic if or #ifdef.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h