Bluetooth: fix coccicheck warnings debugfs
authorJiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Wed, 27 Jan 2021 06:17:33 +0000 (14:17 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Jan 2021 15:51:35 +0000 (16:51 +0100)
commit231ee8bd837f00bbffedbe0ebccbc7da1d1a9f02
tree04c8f14a25a3406fe1cc8caf9dd7f80f90979b6e
parent219991e6be7f4a31d471611e265b72f75b2d0538
Bluetooth: fix coccicheck warnings debugfs

Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
for debugfs files.

Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_debugfs.c