All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
	Luca Ceresoli <luca@lucaceresoli.net>,
	Michael Turquette <mturquette@baylibre.com>
Cc: linux-clk@vger.kernel.org, Lars-Peter Clausen <lars@metafoo.de>
Subject: Re: [PATCH 2/2] clk: vc5: Use regmap_{set,clear}_bits() where appropriate
Date: Fri, 30 Sep 2022 15:15:43 -0700	[thread overview]
Message-ID: <20220930221544.CD830C433D6@smtp.kernel.org> (raw)
In-Reply-To: <20220719094637.844946-2-lars@metafoo.de>

Quoting Lars-Peter Clausen (2022-07-19 02:46:37)
> regmap_set_bits() and regmap_clear_bits() are variations of
> regmap_update_bits() that can be used if all bits of the mask have to be
> set to either 1 or 0 respectively.
> 
> Update the versaclk driver to use regmap_set_bits() and regmap_clear_bits()
> where appropriate. This results in slightly more compact code and also
> makes the intention of the code clearer which can help with review.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Applied to clk-next

  parent reply	other threads:[~2022-09-30 22:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19  9:46 [PATCH 1/2] clk: vc5: Check IO access results Lars-Peter Clausen
2022-07-19  9:46 ` [PATCH 2/2] clk: vc5: Use regmap_{set,clear}_bits() where appropriate Lars-Peter Clausen
2022-07-19 21:30   ` Luca Ceresoli
2022-09-30 22:15   ` Stephen Boyd [this message]
2022-07-19 21:29 ` [PATCH 1/2] clk: vc5: Check IO access results Luca Ceresoli
2022-09-30 22:15 ` Stephen Boyd

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=20220930221544.CD830C433D6@smtp.kernel.org \
    --to=sboyd@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-clk@vger.kernel.org \
    --cc=luca@lucaceresoli.net \
    --cc=mturquette@baylibre.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.