mirror of https://gitee.com/openkylin/linux.git
8a9947552d
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> |
||
---|---|---|
.. | ||
Makefile | ||
ov6x20.c | ||
ov6x30.c | ||
ov7x10.c | ||
ov7x20.c | ||
ov76be.c | ||
ovcamchip_core.c | ||
ovcamchip_priv.h |