Fix debugfs_create_bool's error checking method for wireless/iwlwifi/
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 22 Oct 2008 09:06:12 +0000 (17:06 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:44 +0000 (19:00 -0400)
debugfs_create_bool() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found