From: Felipe Balbi Date: Tue, 31 Jan 2012 11:33:32 +0000 (+0200) Subject: usb: dwc3: debugfs: fix error check X-Git-Tag: v3.4-rc1~184^2~22^2~35^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c;p=pandora-kernel.git usb: dwc3: debugfs: fix error check debugfs APIs will return NULL if it fails to create the file/directory we ask it to create. Instead of checking for IS_ERR(ptr) we must check for !ptr. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed