mac80211_hwsim: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
authorzhong jiang <zhongjiang@huawei.com>
Wed, 30 Oct 2019 03:01:02 +0000 (11:01 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Nov 2019 09:17:33 +0000 (10:17 +0100)
commit7d13cf1e1d5300e9e0fd5ef110b5abe3854ea90b
tree2a7b2448caf8a87a65baffdf7485ada397a6a6ed
parent3f2aef10ffad76c31275ae66b1d6e486b22619d6
mac80211_hwsim: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops

It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file
operation rather than DEFINE_SIMPLE_ATTRIBUTE.

It is detected with the help of coccinelle.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Link: https://lore.kernel.org/r/1572404462-45462-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c