From: Akinobu Mita Date: Tue, 17 Oct 2006 06:25:59 +0000 (+0900) Subject: [PATCH] cm4000_cs: fix return value check X-Git-Tag: v2.6.20-rc1~34^2~20^2~42^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb5fc97d83ee1f8fcf3490bb81ad14a99fc544c;p=pandora-kernel.git [PATCH] cm4000_cs: fix return value check The return value of class_create() need to be checked with IS_ERR(). And register_chrdev() returns errno on failure. This patch includes these fixes for cm4000_cs and cm4040_cs. Signed-off-by: Akinbou Mita Signed-off-by: Harald Welte Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed