summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorYang Ruibin <11162571@vivo.com>2024-08-21 10:39:08 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-21 22:32:52 +0200
commitc4b43d8336e52dce6d124e428aa3b71703e62647 (patch)
tree8a11a4b23041248545a16cb62af761c48b7bab7f /include/uapi
parentiio: sgp40: retain documentation in driver (diff)
downloadlinux-c4b43d8336e52dce6d124e428aa3b71703e62647.tar.xz
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions