Re: [PATCH RFC 2/6] iio: core: Match iio_device_claim_*() naming

From: Kurt Borja

Date: Thu Dec 04 2025 - 12:35:41 EST


On Wed Dec 3, 2025 at 4:50 PM -05, David Lechner wrote:
> On 12/3/25 1:18 PM, Kurt Borja wrote:
>> Rename iio_device_claim_buffer_mode() -> iio_device_claim_buffer() to
>> match iio_device_claim_direct().
>>
>> Signed-off-by: Kurt Borja <kuurtb@xxxxxxxxx>
>> ---
> If we decide to do this, I would squash this with the previous patch
> to make a clean break of it. Although it is helpful to have "mode"
> in the name if we can keep that without breaking things.

Agree, but If rename iio_device_claim_direct() that would be too big and
I think it should be separate patches.


--
~ Kurt