From: Akinobu Mita Date: Fri, 8 Dec 2006 23:49:47 +0000 (+1100) Subject: drm: fix return value check X-Git-Tag: v2.6.20-rc2~85^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f060bd0f78814f4daf8c7942bd710af52c7d6f;p=pandora-kernel.git drm: fix return value check class_create() and class_device_create() return error code as a pointer on failure. These return values need to be checked by IS_ERR(). Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie --- Reading git-diff-tree failed