From: Akinobu Mita Date: Sat, 25 Nov 2006 19:09:35 +0000 (-0800) Subject: [PATCH] tlclk: fix platform_device_register_simple() error check X-Git-Tag: v2.6.19~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e66b0b5f187c811419ff10cfb5668c028a64d57;p=pandora-kernel.git [PATCH] tlclk: fix platform_device_register_simple() error check The return value of platform_device_register_simple() should be checked by IS_ERR(). This patch also fix misc_register() error case. Because misc_register() returns error code. Cc: Sebastien Bouchard Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed