mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[media] sh_vou: 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 sh_vou platform data uses. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
d4c0312363
commit
2334e7902e
4 changed files with 1 additions and 4 deletions
|
|
@ -1406,7 +1406,7 @@ static int __devinit sh_vou_probe(struct platform_device *pdev)
|
|||
goto ereset;
|
||||
|
||||
subdev = v4l2_i2c_new_subdev_board(&vou_dev->v4l2_dev, i2c_adap,
|
||||
vou_pdata->module_name, vou_pdata->board_info, NULL);
|
||||
NULL, vou_pdata->board_info, NULL);
|
||||
if (!subdev) {
|
||||
ret = -ENOMEM;
|
||||
goto ei2cnd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue