From: Cornelia Huck Date: Fri, 22 Sep 2006 09:37:13 +0000 (+0200) Subject: driver core fixes: device_add() cleanup on error X-Git-Tag: v2.6.19-rc3~126^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a306eea40952e6365301e8a2f7d5ffa9c6a1921b;p=pandora-kernel.git driver core fixes: device_add() cleanup on error Check for return code of device_create_file() and correct cleanup in the error case in device_add(). Signed-off-by: Cornelia Huck Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed