[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240501215724.26655-1-jorge.harrisonn@usp.br>
Date: Wed, 1 May 2024 18:57:22 -0300
From: Jorge Harrisonn <jorge.harrisonn@....br>
To: jic23@...nel.org,
lars@...afoo.de
Cc: Jorge Harrisonn <jorge.harrisonn@....br>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
laisnuto@....br
Subject: [PATCH 0/2] Use of `claim_direct_scoped` for improved error handling
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
Powered by blists - more mailing lists