forked from Minki/linux
[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:
parent
da7f3843d2
commit
f95c16ea70
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user