From: Felipe Ribeiro de Souza <felipers@ime.usp.br>
To: andy@kernel.org, dlechner@baylibre.com, jic23@kernel.org,
nuno.sa@analog.com, paul@crapouillou.net
Cc: Felipe Ribeiro de Souza <felipers@ime.usp.br>,
linux-iio@vger.kernel.org, linux-mips@vger.kernel.org
Subject: [PATCH v4 0/2] use guard()() to handle synchronisation
Date: Wed, 22 Apr 2026 22:18:29 -0300 [thread overview]
Message-ID: <20260423012011.41001-1-felipers@ime.usp.br> (raw)
Refactor ingenic_adc_read_chan_info_raw() and replace mutex_lock()
and mutex_unlock() calls with guard()() in drivers/iio/adc/ingenic-adc.c
Felipe Ribeiro de Souza (2):
iio: adc: ingenic-adc: refactor ingenic_adc_read_chan_info_raw()
iio: adc: ingenic-adc: use guard()() to handle synchronisation
drivers/iio/adc/ingenic-adc.c | 56 +++++++++++++++++++----------------
1 file changed, 30 insertions(+), 26 deletions(-)
--
2.43.0
next reply other threads:[~2026-04-23 1:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-23 1:18 Felipe Ribeiro de Souza [this message]
2026-04-23 1:18 ` [PATCH v4 1/2] iio: adc: ingenic-adc: refactor ingenic_adc_read_chan_info_raw() Felipe Ribeiro de Souza
2026-04-23 1:18 ` [PATCH v4 2/2] iio: adc: ingenic-adc: use guard()() to handle synchronisation Felipe Ribeiro de Souza
2026-04-24 8:14 ` Andy Shevchenko
2026-04-24 8:15 ` [PATCH v4 0/2] " Andy Shevchenko
2026-04-24 11:25 ` Jonathan Cameron
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=20260423012011.41001-1-felipers@ime.usp.br \
--to=felipers@ime.usp.br \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=paul@crapouillou.net \
/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