Re: [PATCH v3] leds: lp55xx: Use devm_clk_get_enabled() helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [李琼斯]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux