]> 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)
commita3bac4ce4e4cb1f09bc6d59e73549424b1524e70
tree3c68f965e16c5b0bfe46ba65f31cae823e4f2282
parent56d1496cd5253a0cfa79b74ec17a9f72f5b188bb
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