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>
Showing
- Documentation/i2c/instantiating-devices 1 addition, 1 deletionDocumentation/i2c/instantiating-devices
- drivers/i2c/i2c-core.c 10 additions, 6 deletionsdrivers/i2c/i2c-core.c
- drivers/macintosh/therm_windtunnel.c 2 additions, 2 deletionsdrivers/macintosh/therm_windtunnel.c
- drivers/media/video/bt8xx/bttv-i2c.c 1 addition, 1 deletiondrivers/media/video/bt8xx/bttv-i2c.c
- drivers/media/video/cx18/cx18-i2c.c 2 additions, 1 deletiondrivers/media/video/cx18/cx18-i2c.c
- drivers/media/video/em28xx/em28xx-cards.c 1 addition, 1 deletiondrivers/media/video/em28xx/em28xx-cards.c
- drivers/media/video/ivtv/ivtv-i2c.c 5 additions, 4 deletionsdrivers/media/video/ivtv/ivtv-i2c.c
- drivers/media/video/v4l2-common.c 2 additions, 1 deletiondrivers/media/video/v4l2-common.c
- drivers/usb/host/ohci-pnx4008.c 1 addition, 1 deletiondrivers/usb/host/ohci-pnx4008.c
- drivers/video/matrox/i2c-matroxfb.c 1 addition, 1 deletiondrivers/video/matrox/i2c-matroxfb.c
- include/linux/i2c.h 5 additions, 2 deletionsinclude/linux/i2c.h
Loading
Please register or sign in to comment