Skip to content
Commit 7d13cf1e authored by zhong jiang's avatar zhong jiang Committed by Johannes Berg
Browse files

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: default avatarzhong jiang <zhongjiang@huawei.com>
Link: https://lore.kernel.org/r/1572404462-45462-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3f2aef10
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