From: Tobias Klauser Date: Thu, 7 Jul 2011 07:28:21 +0000 (+0200) Subject: USB: mon: Allow to use usbmon without debugfs X-Git-Tag: v3.1-rc1~234^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dec92b24064f1ffbb6537ba97729b633b400c28;p=pandora-kernel.git USB: mon: Allow to use usbmon without debugfs Do not bail out with an error in mon_text_init() if debugfs is not available, instead just return 0 and let mon_init() go ahead with loading the binary API. Return -ENOMEM in case debugfs_create_dir() fails for other reasons. Later, it is enough to check for mon_dir not set. Signed-off-by: Tobias Klauser Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed