From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [RFC 18/18] omap3isp: Deprecate platform data support Date: Sun, 08 Mar 2015 01:35:48 +0200 Message-ID: <3221299.J6qFz2skEr@avalon> References: <1425764475-27691-1-git-send-email-sakari.ailus@iki.fi> <1425764475-27691-19-git-send-email-sakari.ailus@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1425764475-27691-19-git-send-email-sakari.ailus@iki.fi> Sender: linux-media-owner@vger.kernel.org To: Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, pali.rohar@gmail.com List-Id: devicetree@vger.kernel.org Hi Sakari, Thank you for the patch. On Saturday 07 March 2015 23:41:15 Sakari Ailus wrote: > Print a warning when the driver is used with platform data. Existing > platform data user should move to DT now. > > Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart > --- > drivers/media/platform/omap3isp/isp.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/media/platform/omap3isp/isp.c > b/drivers/media/platform/omap3isp/isp.c index 2c9bc0d..e4a78bb 100644 > --- a/drivers/media/platform/omap3isp/isp.c > +++ b/drivers/media/platform/omap3isp/isp.c > @@ -2447,6 +2447,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; -- Regards, Laurent Pinchart