linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] Documentation: devres: add missing IIO helpers
@ 2022-11-03  2:34 Yang Yingliang
  2022-11-05 15:08 ` Jonathan Cameron
  2022-11-09 21:01 ` Jonathan Corbet
  0 siblings, 2 replies; 5+ messages in thread
From: Yang Yingliang @ 2022-11-03  2:34 UTC (permalink / raw)
  To: linux-doc, linux-iio; +Cc: jic23, Jonathan.Cameron, corbet, yangyingliang

Add some missing device-managed helpers of iio to devres.rst.

devm_iio_kfifo_buffer_setup_ext() is introduced by commit 0a21526bc1d4 ("iio:
kfifo: add devm_iio_triggered_buffer_setup_ext variant").

devm_iio_triggered_buffer_setup_ext() is introduced by commit 5164c7889857 ("iio:
triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants").

devm_iio_hw_consumer_alloc() is introduced by b688c18d3006 ("IIO: hw_consumer:
add devm_iio_hw_consumer_alloc").

devm_fwnode_iio_channel_get_by_name() is introduced by commit 1e64b9c5f9a0 ("iio:
inkern: move to fwnode properties").

Fixes: 0a21526bc1d4 ("iio: kfifo: add devm_iio_triggered_buffer_setup_ext variant")
Fixes: 5164c7889857 ("iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants")
Fixes: b688c18d3006 ("IIO: hw_consumer: add devm_iio_hw_consumer_alloc")
Fixes: 1e64b9c5f9a0 ("iio: inkern: move to fwnode properties")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
The previous patch link:
https://patchwork.kernel.org/project/linux-iio/patch/20220927074043.942836-1-yangyingliang@huawei.com/
---
 Documentation/driver-api/driver-model/devres.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index e0cb7df0f782..4249eb4239e0 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -287,12 +287,16 @@ IIO
   devm_iio_device_register()
   devm_iio_dmaengine_buffer_setup()
   devm_iio_kfifo_buffer_setup()
+  devm_iio_kfifo_buffer_setup_ext()
   devm_iio_map_array_register()
   devm_iio_triggered_buffer_setup()
+  devm_iio_triggered_buffer_setup_ext()
   devm_iio_trigger_alloc()
   devm_iio_trigger_register()
   devm_iio_channel_get()
   devm_iio_channel_get_all()
+  devm_iio_hw_consumer_alloc()
+  devm_fwnode_iio_channel_get_by_name()
 
 INPUT
   devm_input_allocate_device()
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] Documentation: devres: add missing IIO helpers
  2022-11-03  2:34 [PATCH RESEND] Documentation: devres: add missing IIO helpers Yang Yingliang
@ 2022-11-05 15:08 ` Jonathan Cameron
  2022-11-07  1:25   ` Yang Yingliang
  2022-11-09 21:01 ` Jonathan Corbet
  1 sibling, 1 reply; 5+ messages in thread
From: Jonathan Cameron @ 2022-11-05 15:08 UTC (permalink / raw)
  To: Yang Yingliang; +Cc: linux-doc, linux-iio, Jonathan.Cameron, corbet

On Thu, 3 Nov 2022 10:34:02 +0800
Yang Yingliang <yangyingliang@huawei.com> wrote:

> Add some missing device-managed helpers of iio to devres.rst.
> 
> devm_iio_kfifo_buffer_setup_ext() is introduced by commit 0a21526bc1d4 ("iio:
> kfifo: add devm_iio_triggered_buffer_setup_ext variant").
> 
> devm_iio_triggered_buffer_setup_ext() is introduced by commit 5164c7889857 ("iio:
> triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants").
> 
> devm_iio_hw_consumer_alloc() is introduced by b688c18d3006 ("IIO: hw_consumer:
> add devm_iio_hw_consumer_alloc").
> 
> devm_fwnode_iio_channel_get_by_name() is introduced by commit 1e64b9c5f9a0 ("iio:
> inkern: move to fwnode properties").
> 
> Fixes: 0a21526bc1d4 ("iio: kfifo: add devm_iio_triggered_buffer_setup_ext variant")
> Fixes: 5164c7889857 ("iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants")
> Fixes: b688c18d3006 ("IIO: hw_consumer: add devm_iio_hw_consumer_alloc")
> Fixes: 1e64b9c5f9a0 ("iio: inkern: move to fwnode properties")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
You didn't pick up my

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

or mention that my assumption is that this will go via the docs tree.

Thanks,

Jonathan

> ---
> The previous patch link:
> https://patchwork.kernel.org/project/linux-iio/patch/20220927074043.942836-1-yangyingliang@huawei.com/
> ---
>  Documentation/driver-api/driver-model/devres.rst | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index e0cb7df0f782..4249eb4239e0 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -287,12 +287,16 @@ IIO
>    devm_iio_device_register()
>    devm_iio_dmaengine_buffer_setup()
>    devm_iio_kfifo_buffer_setup()
> +  devm_iio_kfifo_buffer_setup_ext()
>    devm_iio_map_array_register()
>    devm_iio_triggered_buffer_setup()
> +  devm_iio_triggered_buffer_setup_ext()
>    devm_iio_trigger_alloc()
>    devm_iio_trigger_register()
>    devm_iio_channel_get()
>    devm_iio_channel_get_all()
> +  devm_iio_hw_consumer_alloc()
> +  devm_fwnode_iio_channel_get_by_name()
>  
>  INPUT
>    devm_input_allocate_device()


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] Documentation: devres: add missing IIO helpers
  2022-11-05 15:08 ` Jonathan Cameron
@ 2022-11-07  1:25   ` Yang Yingliang
  2022-11-07 16:46     ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Yang Yingliang @ 2022-11-07  1:25 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: linux-doc, linux-iio, Jonathan.Cameron, corbet, yangyingliang

Hi,

On 2022/11/5 23:08, Jonathan Cameron wrote:
> On Thu, 3 Nov 2022 10:34:02 +0800
> Yang Yingliang <yangyingliang@huawei.com> wrote:
>
>> Add some missing device-managed helpers of iio to devres.rst.
>>
>> devm_iio_kfifo_buffer_setup_ext() is introduced by commit 0a21526bc1d4 ("iio:
>> kfifo: add devm_iio_triggered_buffer_setup_ext variant").
>>
>> devm_iio_triggered_buffer_setup_ext() is introduced by commit 5164c7889857 ("iio:
>> triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants").
>>
>> devm_iio_hw_consumer_alloc() is introduced by b688c18d3006 ("IIO: hw_consumer:
>> add devm_iio_hw_consumer_alloc").
>>
>> devm_fwnode_iio_channel_get_by_name() is introduced by commit 1e64b9c5f9a0 ("iio:
>> inkern: move to fwnode properties").
>>
>> Fixes: 0a21526bc1d4 ("iio: kfifo: add devm_iio_triggered_buffer_setup_ext variant")
>> Fixes: 5164c7889857 ("iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants")
>> Fixes: b688c18d3006 ("IIO: hw_consumer: add devm_iio_hw_consumer_alloc")
>> Fixes: 1e64b9c5f9a0 ("iio: inkern: move to fwnode properties")
>> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> You didn't pick up my
>
> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> or mention that my assumption is that this will go via the docs tree.
I changed the commit message, it's not same as the earlier patch, so I 
didn't add your ACK tag.
It's nice that you acked this patch.

Thanks,
Yang
>
> Thanks,
>
> Jonathan
>
>> ---
>> The previous patch link:
>> https://patchwork.kernel.org/project/linux-iio/patch/20220927074043.942836-1-yangyingliang@huawei.com/
>> ---
>>   Documentation/driver-api/driver-model/devres.rst | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
>> index e0cb7df0f782..4249eb4239e0 100644
>> --- a/Documentation/driver-api/driver-model/devres.rst
>> +++ b/Documentation/driver-api/driver-model/devres.rst
>> @@ -287,12 +287,16 @@ IIO
>>     devm_iio_device_register()
>>     devm_iio_dmaengine_buffer_setup()
>>     devm_iio_kfifo_buffer_setup()
>> +  devm_iio_kfifo_buffer_setup_ext()
>>     devm_iio_map_array_register()
>>     devm_iio_triggered_buffer_setup()
>> +  devm_iio_triggered_buffer_setup_ext()
>>     devm_iio_trigger_alloc()
>>     devm_iio_trigger_register()
>>     devm_iio_channel_get()
>>     devm_iio_channel_get_all()
>> +  devm_iio_hw_consumer_alloc()
>> +  devm_fwnode_iio_channel_get_by_name()
>>   
>>   INPUT
>>     devm_input_allocate_device()
> .

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] Documentation: devres: add missing IIO helpers
  2022-11-07  1:25   ` Yang Yingliang
@ 2022-11-07 16:46     ` Jonathan Cameron
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Cameron @ 2022-11-07 16:46 UTC (permalink / raw)
  To: Yang Yingliang; +Cc: Jonathan Cameron, linux-doc, linux-iio, corbet

On Mon, 7 Nov 2022 09:25:28 +0800
Yang Yingliang <yangyingliang@huawei.com> wrote:

> Hi,
> 
> On 2022/11/5 23:08, Jonathan Cameron wrote:
> > On Thu, 3 Nov 2022 10:34:02 +0800
> > Yang Yingliang <yangyingliang@huawei.com> wrote:
> >  
> >> Add some missing device-managed helpers of iio to devres.rst.
> >>
> >> devm_iio_kfifo_buffer_setup_ext() is introduced by commit 0a21526bc1d4 ("iio:
> >> kfifo: add devm_iio_triggered_buffer_setup_ext variant").
> >>
> >> devm_iio_triggered_buffer_setup_ext() is introduced by commit 5164c7889857 ("iio:
> >> triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants").
> >>
> >> devm_iio_hw_consumer_alloc() is introduced by b688c18d3006 ("IIO: hw_consumer:
> >> add devm_iio_hw_consumer_alloc").
> >>
> >> devm_fwnode_iio_channel_get_by_name() is introduced by commit 1e64b9c5f9a0 ("iio:
> >> inkern: move to fwnode properties").
> >>
> >> Fixes: 0a21526bc1d4 ("iio: kfifo: add devm_iio_triggered_buffer_setup_ext variant")
> >> Fixes: 5164c7889857 ("iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants")
> >> Fixes: b688c18d3006 ("IIO: hw_consumer: add devm_iio_hw_consumer_alloc")
> >> Fixes: 1e64b9c5f9a0 ("iio: inkern: move to fwnode properties")
> >> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>  
> > You didn't pick up my
> >
> > Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > or mention that my assumption is that this will go via the docs tree.  
> I changed the commit message, it's not same as the earlier patch, so I 
> didn't add your ACK tag.
> It's nice that you acked this patch.
> 

Ah understood.  For something as small as that, just keep tags.

Thanks,

Jonathan

> Thanks,
> Yang
> >
> > Thanks,
> >
> > Jonathan
> >  
> >> ---
> >> The previous patch link:
> >> https://patchwork.kernel.org/project/linux-iio/patch/20220927074043.942836-1-yangyingliang@huawei.com/
> >> ---
> >>   Documentation/driver-api/driver-model/devres.rst | 4 ++++
> >>   1 file changed, 4 insertions(+)
> >>
> >> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> >> index e0cb7df0f782..4249eb4239e0 100644
> >> --- a/Documentation/driver-api/driver-model/devres.rst
> >> +++ b/Documentation/driver-api/driver-model/devres.rst
> >> @@ -287,12 +287,16 @@ IIO
> >>     devm_iio_device_register()
> >>     devm_iio_dmaengine_buffer_setup()
> >>     devm_iio_kfifo_buffer_setup()
> >> +  devm_iio_kfifo_buffer_setup_ext()
> >>     devm_iio_map_array_register()
> >>     devm_iio_triggered_buffer_setup()
> >> +  devm_iio_triggered_buffer_setup_ext()
> >>     devm_iio_trigger_alloc()
> >>     devm_iio_trigger_register()
> >>     devm_iio_channel_get()
> >>     devm_iio_channel_get_all()
> >> +  devm_iio_hw_consumer_alloc()
> >> +  devm_fwnode_iio_channel_get_by_name()
> >>   
> >>   INPUT
> >>     devm_input_allocate_device()  
> > .  


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH RESEND] Documentation: devres: add missing IIO helpers
  2022-11-03  2:34 [PATCH RESEND] Documentation: devres: add missing IIO helpers Yang Yingliang
  2022-11-05 15:08 ` Jonathan Cameron
@ 2022-11-09 21:01 ` Jonathan Corbet
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2022-11-09 21:01 UTC (permalink / raw)
  To: Yang Yingliang, linux-doc, linux-iio
  Cc: jic23, Jonathan.Cameron, yangyingliang

Yang Yingliang <yangyingliang@huawei.com> writes:

> Add some missing device-managed helpers of iio to devres.rst.
>
> devm_iio_kfifo_buffer_setup_ext() is introduced by commit 0a21526bc1d4 ("iio:
> kfifo: add devm_iio_triggered_buffer_setup_ext variant").
>
> devm_iio_triggered_buffer_setup_ext() is introduced by commit 5164c7889857 ("iio:
> triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants").
>
> devm_iio_hw_consumer_alloc() is introduced by b688c18d3006 ("IIO: hw_consumer:
> add devm_iio_hw_consumer_alloc").
>
> devm_fwnode_iio_channel_get_by_name() is introduced by commit 1e64b9c5f9a0 ("iio:
> inkern: move to fwnode properties").
>
> Fixes: 0a21526bc1d4 ("iio: kfifo: add devm_iio_triggered_buffer_setup_ext variant")
> Fixes: 5164c7889857 ("iio: triggered-buffer: add {devm_}iio_triggered_buffer_setup_ext variants")
> Fixes: b688c18d3006 ("IIO: hw_consumer: add devm_iio_hw_consumer_alloc")
> Fixes: 1e64b9c5f9a0 ("iio: inkern: move to fwnode properties")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
> The previous patch link:
> https://patchwork.kernel.org/project/linux-iio/patch/20220927074043.942836-1-yangyingliang@huawei.com/
> ---
>  Documentation/driver-api/driver-model/devres.rst | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-09 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03  2:34 [PATCH RESEND] Documentation: devres: add missing IIO helpers Yang Yingliang
2022-11-05 15:08 ` Jonathan Cameron
2022-11-07  1:25   ` Yang Yingliang
2022-11-07 16:46     ` Jonathan Cameron
2022-11-09 21:01 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).