drm: omapdrm: Drop support for non-DT devices
All OMAP platforms use DT nowadays, drop support for non-DT devices. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Цей коміт міститься в:

зафіксовано
Tomi Valkeinen

джерело
b22622f0cb
коміт
1dff212ce6
@@ -643,11 +643,7 @@ static int venc_init_regulator(void)
|
||||
if (venc.vdda_dac_reg != NULL)
|
||||
return 0;
|
||||
|
||||
if (venc.pdev->dev.of_node)
|
||||
vdda_dac = devm_regulator_get(&venc.pdev->dev, "vdda");
|
||||
else
|
||||
vdda_dac = devm_regulator_get(&venc.pdev->dev, "vdda_dac");
|
||||
|
||||
vdda_dac = devm_regulator_get(&venc.pdev->dev, "vdda");
|
||||
if (IS_ERR(vdda_dac)) {
|
||||
if (PTR_ERR(vdda_dac) != -EPROBE_DEFER)
|
||||
DSSERR("can't get VDDA_DAC regulator\n");
|
||||
@@ -888,12 +884,10 @@ static int venc_bind(struct device *dev, struct device *master, void *data)
|
||||
|
||||
venc_runtime_put();
|
||||
|
||||
if (pdev->dev.of_node) {
|
||||
r = venc_probe_of(pdev);
|
||||
if (r) {
|
||||
DSSERR("Invalid DT data\n");
|
||||
goto err_probe_of;
|
||||
}
|
||||
r = venc_probe_of(pdev);
|
||||
if (r) {
|
||||
DSSERR("Invalid DT data\n");
|
||||
goto err_probe_of;
|
||||
}
|
||||
|
||||
dss_debugfs_create_file("venc", venc_dump_regs);
|
||||
|
Посилання в новій задачі
Заблокувати користувача