From: Zhaolei Date: Mon, 20 Oct 2008 10:53:04 +0000 (+0800) Subject: USB: Fix debugfs_create_file's error checking method for usb/gadget/s3c2410_udc X-Git-Tag: v2.6.28-rc1~33^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66937d71a67724870e03fa35af686e7efe85caf;p=pandora-kernel.git USB: Fix debugfs_create_file's error checking method for usb/gadget/s3c2410_udc debugfs_create_file() returns NULL if an error occurs, returns -ENODEV when debugfs is not enabled in the kernel. Signed-off-by: Zhao Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed