diff options
author | 2024-08-21 04:39:08 -0400 | |
---|---|---|
committer | 2024-08-21 21:32:52 +0100 | |
commit | c4b43d8336e52dce6d124e428aa3b71703e62647 (patch) | |
tree | 8a11a4b23041248545a16cb62af761c48b7bab7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: sgp40: retain documentation in driver (diff) | |
download | wireguard-linux-c4b43d8336e52dce6d124e428aa3b71703e62647.tar.xz wireguard-linux-c4b43d8336e52dce6d124e428aa3b71703e62647.zip |
drivers:iio:Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
The debugfs_create_dir() function returns error pointers.
It never returns NULL. So use IS_ERR() to check it.
Signed-off-by: Yang Ruibin <11162571@vivo.com>
Link: https://patch.msgid.link/20240821083911.3411-1-11162571@vivo.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions