Akinobu Mita 3bacb36db0 i2c: Fix return value check in i2c-dev
device_create() returns error code as pointer on failures.
This patch checks the return value of device_create() by using IS_ERR().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2006-12-10 21:21:33 +01:00
..
2006-12-08 08:28:40 -08:00
2006-12-08 08:28:47 -08:00
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:24 -08:00
2006-10-11 11:14:25 -07:00
2006-12-08 10:43:20 -08:00
2006-12-08 10:43:20 -08:00
2006-12-08 08:29:01 -08:00
2006-12-07 08:39:36 -08:00
2006-12-07 08:39:33 -08:00
2006-12-07 08:39:24 -08:00
2006-11-30 05:24:39 +01:00
2006-12-08 08:28:48 -08:00
2006-12-08 08:28:46 -08:00
2006-10-03 22:31:37 +02:00
2006-12-07 08:39:43 -08:00
2006-12-08 08:28:49 -08:00
2006-12-08 08:28:57 -08:00
2006-10-17 08:18:42 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 10:43:20 -08:00
2006-12-08 08:28:50 -08:00
2006-12-08 10:43:20 -08:00
2006-12-08 10:43:20 -08:00