[media] omap3isp: Deprecate platform data support

Print a warning when the driver is used with platform data. Existing
platform data users should move to DT now.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Sakari Ailus 2015-03-25 19:57:39 -03:00 committed by Mauro Carvalho Chehab
parent da7f3843d2
commit f95c16ea70

View File

@ -2456,6 +2456,8 @@ static int isp_probe(struct platform_device *pdev)
isp->syscon = syscon_regmap_lookup_by_pdevname("syscon.0");
if (IS_ERR(isp->syscon))
return PTR_ERR(isp->syscon);
dev_warn(&pdev->dev,
"Platform data support is deprecated! Please move to DT now!\n");
}
isp->autoidle = autoidle;