diff options
| author | Yang Ruibin <11162571@vivo.com> | 2024-08-21 04:39:08 -0400 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-21 21:32:52 +0100 |
| commit | c4b43d8336e52dce6d124e428aa3b71703e62647 (patch) | |
| tree | 8a11a4b23041248545a16cb62af761c48b7bab7f /scripts | |
| parent | iio: sgp40: retain documentation in driver (diff) | |
| download | linux-c4b43d8336e52dce6d124e428aa3b71703e62647.tar.gz 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 'scripts')
0 files changed, 0 insertions, 0 deletions
