lkml.org 
[lkml]   [2024]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Use of `claim_direct_scoped` for improved error handling
Date
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


\
 
 \ /
  Last update: 2024-05-27 18:12    [W:0.037 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site