diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-05-03 14:56:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-08 23:04:11 (GMT) |
commit | abd5a2fb3957b5a6eb8083044a61e1b95b770abf (patch) | |
tree | 33c16b6cada866cb61b595dab1d113035d255719 /drivers/staging/iio/iio_simple_dummy_events.c | |
parent | 5a28c87397655cb0d791d04e45bd7cd5691ba0f2 (diff) | |
download | linux-fsl-qoriq-abd5a2fb3957b5a6eb8083044a61e1b95b770abf.tar.xz |
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: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/iio_simple_dummy_events.c')
0 files changed, 0 insertions, 0 deletions