Re: [PATCH v3] leds: lp55xx: Use devm_clk_get_enabled() helpers
From: Lee Jones
Date: Thu Aug 22 2024 - 09:54:04 EST
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@xxxxxxxx>
> ---
> 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 [李琼斯]