[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160809125846.GA17535@ulmo.ba.sec>
Date: Tue, 9 Aug 2016 14:58:46 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Wolfram Sang <wsa-dev@...g-engineering.com>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
Jean Delvare <jdelvare@...e.com>,
Wolfram Sang <wsa@...-dreams.de>,
Ludovic Desroches <ludovic.desroches@...el.com>,
Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Jon Mason <jonmason@...adcom.com>,
bcm-kernel-feedback-list@...adcom.com,
Florian Fainelli <f.fainelli@...il.com>,
Sonic Zhang <sonic.zhang@...log.com>,
Brian Norris <computersforpeace@...il.com>,
Gregory Fong <gregory.0xf0@...il.com>,
Michal Simek <michal.simek@...inx.com>,
Sören Brinkmann <soren.brinkmann@...inx.com>,
Jochen Friedrich <jochen@...am.de>,
Sekhar Nori <nsekhar@...com>,
Kevin Hilman <khilman@...nel.org>,
Guenter Roeck <linux@...ck-us.net>,
Uwe Kleine-König <kernel@...gutronix.de>,
Kukjin Kim <kgene@...nel.org>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Seth Heasley <seth.heasley@...el.com>,
Neil Horman <nhorman@...driver.com>,
Joachim Eastwood <manabian@...il.com>,
Carlo Caione <carlo@...one.org>,
Alessandro Rubini <rubini@...pv.it>,
Linus Walleij <linus.walleij@...aro.org>,
Peter Korsgaard <jacmet@...site.dk>,
Tony Lindgren <tony@...mide.com>,
Vladimir Zapolskiy <vz@...ia.com>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
Guan Xuetao <gxt@...c.pku.edu.cn>,
Heiko Stuebner <heiko@...ech.de>,
Barry Song <baohua@...nel.org>,
Patrice Chotard <patrice.chotard@...com>,
Laxman Dewangan <ldewangan@...dia.com>,
Stephen Warren <swarren@...dotorg.org>,
Alexandre Courbot <gnurou@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Tony Prisk <linux@...sktech.co.nz>,
linux-arm-kernel@...ts.infradead.org,
adi-buildroot-devel@...ts.sourceforge.net,
linuxppc-dev@...ts.ozlabs.org, linux-samsung-soc@...r.kernel.org,
linux-amlogic@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-rockchip@...ts.infradead.org, kernel@...inux.com,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH] i2c: don't print error when adding adapter fails
On Tue, Aug 09, 2016 at 01:36:17PM +0200, Wolfram Sang wrote:
[...]
> diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
> index b126dbaa47e370..d9979da11485ae 100644
> --- a/drivers/i2c/busses/i2c-tegra.c
> +++ b/drivers/i2c/busses/i2c-tegra.c
> @@ -932,10 +932,8 @@ static int tegra_i2c_probe(struct platform_device *pdev)
> i2c_dev->adapter.dev.of_node = pdev->dev.of_node;
>
> ret = i2c_add_numbered_adapter(&i2c_dev->adapter);
> - if (ret) {
> - dev_err(&pdev->dev, "Failed to add I2C adapter\n");
> + if (ret)
> goto disable_div_clk;
> - }
>
> return 0;
>
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists