summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRohit Sarkar <rohitsarkar5398@gmail.com>2020-03-31 17:17:31 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 16:56:25 +0100
commit2ca73823d05d654cb6d21bd0b045dfa382fb9c83 (patch)
tree713064c3bc56e99ccbb49f616b0830c1cd890c2e /tools/perf/scripts/python/bin
parentae1d37a9bb4bd8d9091a40d153143e99b115ee37 (diff)
downloadlinux-2ca73823d05d654cb6d21bd0b045dfa382fb9c83.tar.gz
linux-2ca73823d05d654cb6d21bd0b045dfa382fb9c83.zip
iio: imu: adis16460: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE
debugfs_create_file_unsafe does not protect the fops handed to it against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of the file lifetime and thus protects it against removal. Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com> Tested-by Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions