commit | 9b24001db145cf1da76a479918373c18aa10bb4b | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Wed Oct 22 17:06:12 2008 +0800 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 31 19:00:44 2008 -0400 |
tree | fa72e2e0573750f532b05e142cd325ba22201bd4 | |
parent | ac9440a4e4b284d3469120f0e049dff7c73c72a4 [diff] |
Fix debugfs_create_bool's error checking method for wireless/iwlwifi/ 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>