Commit 7eae8c73 authored by Lee Jones's avatar Lee Jones Committed by Kalle Valo

brcmsmac: mac80211_if: Demote a few non-conformant kerneldoc headers

Fixes the following W=1 kernel build warning(s):

 In file included from drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:30:
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:288: warning: Function parameter or member 'wl' not described in 'brcms_free'
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:1127: warning: Function parameter or member 'pdev' not described in 'brcms_attach'
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:1222: warning: Function parameter or member 'pdev' not described in 'brcms_bcma_probe'
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:1301: warning: Function parameter or member 'work' not described in 'brcms_driver_init'

Cc: Arend van Spriel <arend.vanspriel@broadcom.com>
Cc: Franky Lin <franky.lin@broadcom.com>
Cc: Hante Meuleman <hante.meuleman@broadcom.com>
Cc: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Cc: Wright Feng <wright.feng@cypress.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-wireless@vger.kernel.org
Cc: brcm80211-dev-list.pdl@broadcom.com
Cc: brcm80211-dev-list@cypress.com
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200814113933.1903438-25-lee.jones@linaro.org
parent 4e124e1f
...@@ -275,14 +275,13 @@ static void brcms_set_basic_rate(struct brcm_rateset *rs, u16 rate, bool is_br) ...@@ -275,14 +275,13 @@ static void brcms_set_basic_rate(struct brcm_rateset *rs, u16 rate, bool is_br)
} }
} }
/** /*
* This function frees the WL per-device resources. * This function frees the WL per-device resources.
* *
* This function frees resources owned by the WL device pointed to * This function frees resources owned by the WL device pointed to
* by the wl parameter. * by the wl parameter.
* *
* precondition: can both be called locked and unlocked * precondition: can both be called locked and unlocked
*
*/ */
static void brcms_free(struct brcms_info *wl) static void brcms_free(struct brcms_info *wl)
{ {
...@@ -1115,7 +1114,7 @@ static int ieee_hw_init(struct ieee80211_hw *hw) ...@@ -1115,7 +1114,7 @@ static int ieee_hw_init(struct ieee80211_hw *hw)
return ieee_hw_rate_init(hw); return ieee_hw_rate_init(hw);
} }
/** /*
* attach to the WL device. * attach to the WL device.
* *
* Attach to the WL device identified by vendor and device parameters. * Attach to the WL device identified by vendor and device parameters.
...@@ -1210,7 +1209,7 @@ static struct brcms_info *brcms_attach(struct bcma_device *pdev) ...@@ -1210,7 +1209,7 @@ static struct brcms_info *brcms_attach(struct bcma_device *pdev)
/** /*
* determines if a device is a WL device, and if so, attaches it. * determines if a device is a WL device, and if so, attaches it.
* *
* This function determines if a device pointed to by pdev is a WL device, * This function determines if a device pointed to by pdev is a WL device,
...@@ -1290,7 +1289,7 @@ static struct bcma_driver brcms_bcma_driver = { ...@@ -1290,7 +1289,7 @@ static struct bcma_driver brcms_bcma_driver = {
.id_table = brcms_coreid_table, .id_table = brcms_coreid_table,
}; };
/** /*
* This is the main entry point for the brcmsmac driver. * This is the main entry point for the brcmsmac driver.
* *
* This function is scheduled upon module initialization and * This function is scheduled upon module initialization and
...@@ -1317,7 +1316,7 @@ static int __init brcms_module_init(void) ...@@ -1317,7 +1316,7 @@ static int __init brcms_module_init(void)
return 0; return 0;
} }
/** /*
* This function unloads the brcmsmac driver from the system. * This function unloads the brcmsmac driver from the system.
* *
* This function unconditionally unloads the brcmsmac driver module from the * This function unconditionally unloads the brcmsmac driver module from the
......
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