i2c: Add support for custom probe function
authorJean Delvare <khali@linux-fr.org>
Wed, 11 Aug 2010 16:20:56 +0000 (18:20 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 11 Aug 2010 16:20:56 +0000 (18:20 +0200)
commit9a94241afcc9a481691a9c29b7460217925b59b8
tree7f2d42935422a228686bcd8680dc97ff8a1005bc
parentf1c2e33c295de423db5740647bfaa5e2ad139192
i2c: Add support for custom probe function

The probe method used by i2c_new_probed_device() may not be suitable
for all cases. Let the caller provide its own, optional probe
function.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/i2c/instantiating-devices
drivers/i2c/i2c-core.c
drivers/macintosh/therm_windtunnel.c
drivers/media/video/bt8xx/bttv-i2c.c
drivers/media/video/cx18/cx18-i2c.c
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/ivtv/ivtv-i2c.c
drivers/media/video/v4l2-common.c
drivers/usb/host/ohci-pnx4008.c
drivers/video/matrox/i2c-matroxfb.c
include/linux/i2c.h