kernel-fxtec-pro1x/drivers/i2c
Jean Delvare 51b54ba9bb i2c: Optimize function i2c_detect()
Check the class flags before allocating the temporary i2c_client
structure, to avoid allocating it when we don't need it.

Also optimize the inner loop a bit.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
2010-10-24 18:16:58 +02:00
..
algos i2c: Change to new flag variable 2010-10-24 18:16:58 +02:00
busses i2c-amd8111: Add proper error handling 2010-10-24 18:16:58 +02:00
muxes i2c: Change to new flag variable 2010-10-24 18:16:58 +02:00
i2c-boardinfo.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
i2c-core.c i2c: Optimize function i2c_detect() 2010-10-24 18:16:58 +02:00
i2c-core.h i2c: Use rwsem instead of mutex for board info 2009-06-19 16:58:20 +02:00
i2c-dev.c i2c: Let i2c_parent_is_i2c_adapter return the parent adapter 2010-10-24 18:16:57 +02:00
i2c-mux.c i2c: Multiplexed I2C bus core support 2010-08-11 18:21:02 +02:00
i2c-smbus.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
Kconfig i2c: Fix Kconfig dependencies 2010-10-24 18:16:57 +02:00
Makefile i2c: Change to new flag variable 2010-10-24 18:16:58 +02:00