]> git.baikalelectronics.ru Git - kernel.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)
commit60bd11eb4f64d4fba0d2f13ba187652e33244c29
tree3c68f965e16c5b0bfe46ba65f31cae823e4f2282
parentf584b0f527f624e43bd4e96922d346d237bb6211
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