提交 cb9bc962 编写于 作者: L Laurent Pinchart 提交者: Mauro Carvalho Chehab

[media] radio-si4713: Don't use module names to load I2C modules

With the v4l2_i2c_new_subdev* functions now supporting loading modules
based on modaliases, replace the hardcoded module name passed to those
functions by NULL.

As no board seems to use this driver, no platform data has been checked.
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 2334e790
...@@ -291,7 +291,7 @@ static int radio_si4713_pdriver_probe(struct platform_device *pdev) ...@@ -291,7 +291,7 @@ static int radio_si4713_pdriver_probe(struct platform_device *pdev)
goto unregister_v4l2_dev; goto unregister_v4l2_dev;
} }
sd = v4l2_i2c_new_subdev_board(&rsdev->v4l2_dev, adapter, "si4713_i2c", sd = v4l2_i2c_new_subdev_board(&rsdev->v4l2_dev, adapter, NULL,
pdata->subdev_board_info, NULL); pdata->subdev_board_info, NULL);
if (!sd) { if (!sd) {
dev_err(&pdev->dev, "Cannot get v4l2 subdevice\n"); dev_err(&pdev->dev, "Cannot get v4l2 subdevice\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册