]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit546d83ea96efe79a289a13f15d96216b70278425
tree2a7b2448caf8a87a65baffdf7485ada397a6a6ed
parentc556cb73ac3b6d300af34598cb3035b983df339c
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