Re: [PATCH v2 1/7] iio: core: Add and export __iio_dev_mode_lock()
From: Andy Shevchenko
Date: Fri Dec 12 2025 - 13:21:53 EST
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.
--
With Best Regards,
Andy Shevchenko