Fix debugfs_create_*'s error checking method for wireless/rt2x00/
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 22 Oct 2008 09:07:25 +0000 (17:07 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:45 +0000 (19:00 -0400)
debugfs_create_*() 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: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found