Re: [PATCH v2 1/7] iio: core: Add and export __iio_dev_mode_lock()
From: Kurt Borja
Date: Mon Dec 22 2025 - 17:50:55 EST
On Fri Dec 12, 2025 at 1:21 PM -05, Andy Shevchenko wrote:
> On Thu, Dec 11, 2025 at 09:45:19PM -0500, Kurt Borja wrote:
>> Add infallible wrappers around the internal IIO mode lock.
>>
>> As mentioned in the documentation, this is not meant to be used by
>> drivers, instead this will aid in the eventual addition of cleanup
>> classes around conditional locks.
>
> ...
>
>> +EXPORT_SYMBOL_GPL(__iio_dev_mode_lock);
>
>> +EXPORT_SYMBOL_GPL(__iio_dev_mode_unlock);
>
> Put them to "IIO_CORE" namespace.
I will!
Thanks for your comments. If this gets no more comments for a couple of
days I'll send v3 including the rest of your suggestions.
--
~ Kurt