HID: debug: Check result of debugfs_create_dir() and debugfs_create_file()
The debugfs_create_dir() and debugfs_create_file() functions may return -errno
if an error occurs. This patch adds a couple of checks of the result of the
debufs_create_dir() and debugfs_create_file() functions execution in the
hid_debug_register() and othre places.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>