[media] v4l2-subdev: remove core.s_config and v4l2_i2c_new_subdev_cfg()
The core.s_config op was meant for legacy drivers that needed to work with old pre-2.6.26 kernels. This is no longer relevant. Unfortunately, this op was incorrectly called from several drivers. Replace those occurences with proper i2c_board_info structs and call v4l2_i2c_new_subdev_board. After these changes v4l2_i2c_new_subdev_cfg() was no longer used, so remove that function as well. Signed-off-by:Hans Verkuil <hverkuil@xs4all.nl> Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
Showing
- drivers/media/video/cafe_ccic.c 8 additions, 3 deletionsdrivers/media/video/cafe_ccic.c
- drivers/media/video/cx25840/cx25840-core.c 6 additions, 16 deletionsdrivers/media/video/cx25840/cx25840-core.c
- drivers/media/video/em28xx/em28xx-cards.c 10 additions, 8 deletionsdrivers/media/video/em28xx/em28xx-cards.c
- drivers/media/video/ivtv/ivtv-i2c.c 7 additions, 2 deletionsdrivers/media/video/ivtv/ivtv-i2c.c
- drivers/media/video/mt9v011.c 34 additions, 20 deletionsdrivers/media/video/mt9v011.c
- drivers/media/video/mt9v011.h 0 additions, 36 deletionsdrivers/media/video/mt9v011.h
- drivers/media/video/ov7670.c 32 additions, 42 deletionsdrivers/media/video/ov7670.c
- drivers/media/video/sr030pc30.c 0 additions, 10 deletionsdrivers/media/video/sr030pc30.c
- drivers/media/video/v4l2-common.c 2 additions, 17 deletionsdrivers/media/video/v4l2-common.c
- include/media/mt9v011.h 17 additions, 0 deletionsinclude/media/mt9v011.h
- include/media/v4l2-common.h 1 addition, 12 deletionsinclude/media/v4l2-common.h
- include/media/v4l2-subdev.h 1 addition, 5 deletionsinclude/media/v4l2-subdev.h
Loading
Please register or sign in to comment