linux/drivers/i2c
Jean Delvare 8a9947552d [PATCH] i2c: Drop i2c_driver.flags, 2 of 3
Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we
can simply make it the default and drop the flag. If any driver really
doesn't want to be notified when i2c adapters are added, that driver
can simply omit to set .attach_adapter. This approach is also more
robust as it prevents accidental NULL pointer dereferences.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-05 22:16:21 -08:00
..
algos [PATCH] i2c: Discard explicit static initializations to 0 2005-10-28 14:02:06 -07:00
busses [PATCH] i2c: Add support for Barco LPT->DVI to i2c-parport 2006-01-05 22:16:21 -08:00
chips [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 2006-01-05 22:16:21 -08:00
i2c-core.c [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 2006-01-05 22:16:21 -08:00
i2c-dev.c [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 2006-01-05 22:16:21 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00