staging: wilc1000: fix error handling in wilc_debugfs_init()
commitef6687c627a5338f1fbea134efca6e7f479cd70c
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 27 Jun 2016 13:00:20 +0000 (27 14:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:27:16 +0000 (21 17:27 +0200)
tree741563a7318b87c30a329b14c67b6d8092f7017a
parenteeeb5fb9323c75663da5a8d1d068cd7176aa77b4
staging: wilc1000: fix error handling in wilc_debugfs_init()

We can just ignore the return value from debugfs_create_dir() and
debugfs_create_file(). The second one already interanlly checks the dentry
created by the first before creating the file.

debugfs was written so it would be easy to use, no need for error checking.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_debugfs.c