public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Huan Yang <link@vivo.com>
Cc: Pavel Machek <pavel@ucw.cz>,
	linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
	opensource.kernel@vivo.com
Subject: Re: [PATCH v3] leds: lp55xx: Use devm_clk_get_enabled() helpers
Date: Thu, 22 Aug 2024 14:50:45 +0100	[thread overview]
Message-ID: <20240822135045.GL6858@google.com> (raw)
In-Reply-To: <20240822020339.474715-1-link@vivo.com>

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

  reply	other threads:[~2024-08-22 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22  2:03 [PATCH v3] leds: lp55xx: Use devm_clk_get_enabled() helpers Huan Yang
2024-08-22 13:50 ` Lee Jones [this message]
2024-08-23  1:49   ` Huan Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240822135045.GL6858@google.com \
    --to=lee@kernel.org \
    --cc=link@vivo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=opensource.kernel@vivo.com \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox