Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Gustavo Vaz <gustavo.vaz@usp.br>
Cc: linux-iio@vger.kernel.org, franciscolealhenriques@usp.br
Subject: Re: [PATCH v1] iio: accel: kxcjk-1013: Deduplicate setup interrupt functions
Date: Sat, 26 Apr 2025 15:33:07 +0100	[thread overview]
Message-ID: <20250426153307.59689da0@jic23-huawei> (raw)
In-Reply-To: <20250423204631.16460-1-gustavo.vaz@usp.br>

On Wed, 23 Apr 2025 17:46:31 -0300
Gustavo Vaz <gustavo.vaz@usp.br> wrote:

> The contents of kxcjk1013_setup_any_motion_interrupt and
> kxcj1013_setup_new_data_interrupt are very similar. Deduplicate these
> functions by introducing a generic function named
> kxcjk1013_setup_interrupt that has an additional flag indicating if
> it's a new data interrupt.
> 
> Signed-off-by: Gustavo Vaz <gustavo.vaz@usp.br>
> Co-developed-by: Francisco Henriques <franciscolealhenriques@usp.br>
> Signed-off-by: Francisco Henriques <franciscolealhenriques@usp.br>
Seems fine to me.

Applied to the togreg branch of iio.git.

Thanks,

Jonathan

      reply	other threads:[~2025-04-26 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23 20:46 [PATCH v1] iio: accel: kxcjk-1013: Deduplicate setup interrupt functions Gustavo Vaz
2025-04-26 14:33 ` Jonathan Cameron [this message]

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=20250426153307.59689da0@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=franciscolealhenriques@usp.br \
    --cc=gustavo.vaz@usp.br \
    --cc=linux-iio@vger.kernel.org \
    /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