[PATCH] iio: adc: ti-ads1018: Drop stale kernel-doc function context

Kurt Borja posted 1 patch 1 month ago
drivers/iio/adc/ti-ads1018.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] iio: adc: ti-ads1018: Drop stale kernel-doc function context
Posted by Kurt Borja 1 month ago
The driver no longer uses iio_device_claim_buffer_mode(). Drop it from
ads1018_spi_read_exclusive() context remark.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
 drivers/iio/adc/ti-ads1018.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/iio/adc/ti-ads1018.c b/drivers/iio/adc/ti-ads1018.c
index 286e06dc70b8..6246b3cab71f 100644
--- a/drivers/iio/adc/ti-ads1018.c
+++ b/drivers/iio/adc/ti-ads1018.c
@@ -211,8 +211,7 @@ static u32 ads1018_calc_delay(unsigned int hz)
  * Reads the most recent ADC conversion value, without updating the
  * device's configuration.
  *
- * Context: Expects iio_device_claim_buffer_mode() is held and SPI bus
- *	    *exclusive* use.
+ * Context: Expects SPI bus *exclusive* use.
  *
  * Return: 0 on success, negative errno on error.
  */

---
base-commit: fb2f4eb29a258145b0336601f00509cab6e93e7c
change-id: 20260106-ads1018-comment-48d0a82c6826

-- 
 ~ Kurt
Re: [PATCH] iio: adc: ti-ads1018: Drop stale kernel-doc function context
Posted by Jonathan Cameron 3 weeks, 6 days ago
On Tue, 06 Jan 2026 03:17:32 -0500
Kurt Borja <kuurtb@gmail.com> wrote:

> The driver no longer uses iio_device_claim_buffer_mode(). Drop it from
> ads1018_spi_read_exclusive() context remark.
> 
> Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Applied.
Thanks,

Jonathan

> ---
>  drivers/iio/adc/ti-ads1018.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/adc/ti-ads1018.c b/drivers/iio/adc/ti-ads1018.c
> index 286e06dc70b8..6246b3cab71f 100644
> --- a/drivers/iio/adc/ti-ads1018.c
> +++ b/drivers/iio/adc/ti-ads1018.c
> @@ -211,8 +211,7 @@ static u32 ads1018_calc_delay(unsigned int hz)
>   * Reads the most recent ADC conversion value, without updating the
>   * device's configuration.
>   *
> - * Context: Expects iio_device_claim_buffer_mode() is held and SPI bus
> - *	    *exclusive* use.
> + * Context: Expects SPI bus *exclusive* use.
>   *
>   * Return: 0 on success, negative errno on error.
>   */
> 
> ---
> base-commit: fb2f4eb29a258145b0336601f00509cab6e93e7c
> change-id: 20260106-ads1018-comment-48d0a82c6826
>