Messages in this thread | | | Date | Thu, 15 Sep 2022 13:14:07 +0200 | From | Thierry Reding <> | 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@wanadoo.fr> > --- > drivers/soc/tegra/pmc.c | 15 ++++----------- > 1 file changed, 4 insertions(+), 11 deletions(-)
Applied, thanks.
Thierry [unhandled content-type:application/pgp-signature] | |