Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] Use of `claim_direct_scoped` for improved error handling
@ 2024-05-01 21:57 Jorge Harrisonn
  2024-05-01 21:57 ` [PATCH 1/2] iio: adc: ad7606: using claim_direct_scoped for code simplification Jorge Harrisonn
  2024-05-01 21:57 ` [PATCH 2/2] iio: adc: ad7923: " Jorge Harrisonn
  0 siblings, 2 replies; 6+ messages in thread
From: Jorge Harrisonn @ 2024-05-01 21:57 UTC (permalink / raw)
  To: jic23, lars; +Cc: Jorge Harrisonn, linux-iio, linux-kernel, laisnuto

Make use of `claim_direct_scoped` in two modules, in order to make error handling
more natural and simple than the former call to `claim_direct_mode` and
`release_direct_mode`

Jorge Harrisonn (2):
  iio: adc: ad7606: using claim_direct_scoped for code simplification
  iio: adc: ad7923: using claim_direct_scoped for code simplification

 drivers/iio/adc/ad7606.c | 19 ++++++++-----------
 drivers/iio/adc/ad7923.c | 30 ++++++++++++++----------------
 2 files changed, 22 insertions(+), 27 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-04 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 21:57 [PATCH 0/2] Use of `claim_direct_scoped` for improved error handling Jorge Harrisonn
2024-05-01 21:57 ` [PATCH 1/2] iio: adc: ad7606: using claim_direct_scoped for code simplification Jorge Harrisonn
2024-05-04 11:34   ` Jonathan Cameron
2024-05-04 16:08   ` Markus Elfring
2024-05-01 21:57 ` [PATCH 2/2] iio: adc: ad7923: " Jorge Harrisonn
2024-05-04 11:38   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox