[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190611153724.fg34zp6vof7lpcgl@pengutronix.de>
Date: Tue, 11 Jun 2019 17:37:24 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Cc: linux-amlogic@...ts.infradead.org, linux-pwm@...r.kernel.org,
thierry.reding@...il.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Neil Armstrong <narmstrong@...libre.com>, kernel@...gutronix.de
Subject: Re: [PATCH v2 02/14] pwm: meson: use devm_clk_get_optional() to get
the input clock
On Sat, Jun 08, 2019 at 08:06:14PM +0200, Martin Blumenstingl wrote:
> Simplify the code which fetches the input clock for a PWM channel by
> using devm_clk_get_optional().
> This comes with a small functional change: previously all errors except
> EPROBE_DEFER were ignored. Now all other errors are also treated as
> errors. If no input clock is present devm_clk_get_optional() will return
> NULL instead of an error which matches the behavior of the old code.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
> Reviewed-by: Neil Armstrong <narmstrong@...libre.com>
Nitpick: Put your S-o-b last. Otherwise this ends as
Sgned-off-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Rviewed-by: Neil Armstrong <narmstrong@...libre.com>
Sgned-off-by: Thierry Reding <thierry.reding@...il.com>
and this implies that Thierry added Neil's tag. (Typos are done on
purpose to not confuse patchwork.)
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Powered by blists - more mailing lists