Commit 15bc6dfb authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Johannes Berg

cfg80211: merge documentations of field "dev"

The field "dev" was documented on two places. This patch merges the
comments.
Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200221115604.594035-8-Jerome.Pouiller@silabs.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent edf77192
...@@ -4464,7 +4464,9 @@ struct wiphy_iftype_akm_suites { ...@@ -4464,7 +4464,9 @@ struct wiphy_iftype_akm_suites {
* unregister hardware * unregister hardware
* @debugfsdir: debugfs directory used for this wiphy (ieee80211/<wiphyname>). * @debugfsdir: debugfs directory used for this wiphy (ieee80211/<wiphyname>).
* It will be renamed automatically on wiphy renames * It will be renamed automatically on wiphy renames
* @dev: (virtual) struct device for this wiphy * @dev: (virtual) struct device for this wiphy. The item in
* /sys/class/ieee80211/ points to this. You need use set_wiphy_dev()
* (see below).
* @wext: wireless extension handlers * @wext: wireless extension handlers
* @priv: driver private data (sized according to wiphy_new() parameter) * @priv: driver private data (sized according to wiphy_new() parameter)
* @interface_modes: bitmask of interfaces types valid for this wiphy, * @interface_modes: bitmask of interfaces types valid for this wiphy,
...@@ -4683,8 +4685,6 @@ struct wiphy { ...@@ -4683,8 +4685,6 @@ struct wiphy {
const struct ieee80211_regdomain __rcu *regd; const struct ieee80211_regdomain __rcu *regd;
/* the item in /sys/class/ieee80211/ points to this,
* you need use set_wiphy_dev() (see below) */
struct device dev; struct device dev;
bool registered; bool registered;
......
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