[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YyMI/6L+YWgCtcEp@orome>
Date: Thu, 15 Sep 2022 13:14:07 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Jonathan Hunter <jonathanh@...dia.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH] soc/tegra: pmc: Use devm_clk_get_optional()
On Sun, Aug 07, 2022 at 10:55:59PM +0200, Christophe JAILLET wrote:
> Use devm_clk_get_optional() instead of hand writing it.
>
> While at it, use dev_err_probe() to further simplify the code. This is also
> less verbose if clk_get() returns -EPROBE_DEFER.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/soc/tegra/pmc.c | 15 ++++-----------
> 1 file changed, 4 insertions(+), 11 deletions(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists