]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wimax: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
authorzhong jiang <zhongjiang@huawei.com>
Wed, 30 Oct 2019 02:55:34 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 00:43:25 +0000 (17:43 -0700)
commit84e93d999a677ee3229e244e9eb29209c3bb6677
tree3c68f965e16c5b0bfe46ba65f31cae823e4f2282
parenta2a1a13b81e65d20302e0e2ef84cac1f15979011
wimax: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/debugfs.c