kernel_optimize_test/drivers/i2c
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
..
algos i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
busses i2c: Enable PEC on more i2c-i801 devices 2006-12-10 21:21:33 +01:00
chips i2c: fix broken ds1337 initialization 2006-12-10 21:21:31 +01:00
i2c-core.c i2c: Use the __ATTR macro where possible 2006-12-10 21:21:31 +01:00
i2c-dev.c i2c: Fix return value check in i2c-dev 2006-12-10 21:21:33 +01:00
Kconfig i2c: Fix copy-n-paste in subsystem Kconfig 2006-09-26 15:38:51 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00