[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240822135045.GL6858@google.com>
Date: Thu, 22 Aug 2024 14:50:45 +0100
From: Lee Jones <lee@...nel.org>
To: Huan Yang <link@...o.com>
Cc: Pavel Machek <pavel@....cz>, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH v3] leds: lp55xx: Use devm_clk_get_enabled() helpers
On Thu, 22 Aug 2024, Huan Yang wrote:
> lp55xx lp55xx_is_extclk_used get, enable clk and
> deinit_device disable and unprepare it.
>
> This can use a simplifies helper to cover. And no need to save clk
> pointer, this can save a little memory.
>
> Signed-off-by: Huan Yang <link@...o.com>
> ---
> v2 -> v3: remove unneccessary suggested tag.
Sorry, what's this?
> v1 -> v2: remove clk pointer from lp55xx_chip
>
> drivers/leds/leds-lp55xx-common.c | 15 ++-------------
> drivers/leds/leds-lp55xx-common.h | 1 -
> 2 files changed, 2 insertions(+), 14 deletions(-)
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists