From: Ahmad Fatoum Date: Mon, 24 Feb 2020 17:25:19 +0000 (+0100) Subject: remoteproc: stm32: demote warning about optional property absence X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~2504^2~23 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=b1f0fa8659f333700b0ca8df7b2e33dc5d554178;p=linux.git remoteproc: stm32: demote warning about optional property absence The mainline device trees lack the "st,syscfg-pdds", so probing the driver always throws the warning. As the property is optional per binding and the driver can deal with its absence, demote the warning to info log level. Signed-off-by: Ahmad Fatoum Link: https://lore.kernel.org/r/20200224172519.15315-1-a.fatoum@pengutronix.de Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c index 9a8b5f5e2572..6a66dbf2df40 100644 --- a/drivers/remoteproc/stm32_rproc.c +++ b/drivers/remoteproc/stm32_rproc.c @@ -602,7 +602,7 @@ static int stm32_rproc_parse_dt(struct platform_device *pdev) err = stm32_rproc_get_syscon(np, "st,syscfg-pdds", &ddata->pdds); if (err) - dev_warn(dev, "failed to get pdds\n"); + dev_info(dev, "failed to get pdds\n"); rproc->auto_boot = of_property_read_bool(np, "st,auto-boot");