Commit c4b43d83 authored by Yang Ruibin's avatar Yang Ruibin Committed by Jonathan Cameron
Browse files

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: default avatarYang Ruibin <11162571@vivo.com>
Link: https://patch.msgid.link/20240821083911.3411-1-11162571@vivo.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent d35099d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment