cfg80211: clean up naming once and for all
We've named the registered devices 'drv' sometimes, thinking of "driver", which is not what it is, it's the internal representation of a wiphy, i.e. a device. Let's clean up the naming once and and use 'rdev' aka 'registered device' everywhere. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
667503ddcb
commit
79c97e97ae
@@ -2,13 +2,13 @@
|
||||
#define __CFG80211_DEBUGFS_H
|
||||
|
||||
#ifdef CONFIG_CFG80211_DEBUGFS
|
||||
void cfg80211_debugfs_drv_add(struct cfg80211_registered_device *drv);
|
||||
void cfg80211_debugfs_drv_del(struct cfg80211_registered_device *drv);
|
||||
void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
|
||||
void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev);
|
||||
#else
|
||||
static inline
|
||||
void cfg80211_debugfs_drv_add(struct cfg80211_registered_device *drv) {}
|
||||
void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
|
||||
static inline
|
||||
void cfg80211_debugfs_drv_del(struct cfg80211_registered_device *drv) {}
|
||||
void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev) {}
|
||||
#endif
|
||||
|
||||
#endif /* __CFG80211_DEBUGFS_H */
|
||||
|
Reference in New Issue
Block a user