Akinobu Mita 5e66b0b5f1 [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 <sebastien.bouchard@ca.kontron.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-25 13:28:34 -08:00
..
2006-11-03 12:27:57 -08:00
2006-10-11 11:14:25 -07:00
2006-11-20 13:06:19 -08:00
2006-10-03 22:31:37 +02:00
2006-10-17 08:18:42 -07:00
2006-11-03 12:27:58 -08:00
2006-11-16 14:26:12 -08:00
2006-11-16 14:30:26 -08:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00