mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[media] soc_camera: Don't use module names to load I2C modules
With the v4l2_i2c_new_subdev* functions now supporting loading modules based on modaliases, remove the module names hardcoded in platform data and pass a NULL module name to those functions. All corresponding I2C modules have been checked, and all of them include a module aliases table with names corresponding to what the soc_camera platform data uses. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
cb9bc962a1
commit
2001f99947
12 changed files with 1 additions and 18 deletions
|
|
@ -896,7 +896,7 @@ static int soc_camera_init_i2c(struct soc_camera_device *icd,
|
|||
icl->board_info->platform_data = icd;
|
||||
|
||||
subdev = v4l2_i2c_new_subdev_board(&ici->v4l2_dev, adap,
|
||||
icl->module_name, icl->board_info, NULL);
|
||||
NULL, icl->board_info, NULL);
|
||||
if (!subdev)
|
||||
goto ei2cnd;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue