From: Sakari Ailus Date: Wed, 25 Mar 2015 22:57:39 +0000 (-0300) Subject: [media] omap3isp: Deprecate platform data support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f95c16ea70cac9987f5cdc28b937ba83ce8f0f98;p=linux-beck.git [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 Acked-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index 9ef7e035aa6c..ff51c4f9d35e 100644 --- a/drivers/media/platform/omap3isp/isp.c +++ b/drivers/media/platform/omap3isp/isp.c @@ -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;