Skip to content
Commit abd5a2fb authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

IIO: industrialio-core: Checking NULL instead of IS_ERR for debugfs_create_dir()



If defined CONFIG_DEBUG_FS, debugfs_create_dir returns NULL on failure.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a28c873
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment