diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-04-21 12:53:03 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-25 17:33:04 +0200 |
commit | f26cbf401be935eec13da6fca7088b50d797d78b (patch) | |
tree | de83a716467102d1b674805ad94879a779c1683f /net/wireless/core.h | |
parent | 1b8ec87aa077c527c9e3525e16098ca7efbc853d (diff) | |
download | linux-f26cbf401be935eec13da6fca7088b50d797d78b.tar.gz linux-f26cbf401be935eec13da6fca7088b50d797d78b.tar.bz2 linux-f26cbf401be935eec13da6fca7088b50d797d78b.zip |
cfg80211: change wiphy_to_dev function name
Name wiphy_to_rdev is more accurate to describe what the function
does, i.e., return a pointer pointing to struct
cfg80211_registered_device.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index c65f4a92710c..681b8fa4355b 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -90,7 +90,7 @@ struct cfg80211_registered_device { }; static inline -struct cfg80211_registered_device *wiphy_to_dev(struct wiphy *wiphy) +struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) { BUG_ON(!wiphy); return container_of(wiphy, struct cfg80211_registered_device, wiphy); |