* [PATCH] Documentation: devres: add missing I2C helper
@ 2022-11-02 3:40 Yang Yingliang
2022-11-02 7:29 ` Yicong Yang
2022-11-02 10:38 ` Andy Shevchenko
0 siblings, 2 replies; 4+ messages in thread
From: Yang Yingliang @ 2022-11-02 3:40 UTC (permalink / raw)
To: linux-i2c
Cc: Yang Yingliang, Yicong Yang, Andy Shevchenko, Dmitry Osipenko,
Wolfram Sang, Jonathan Corbet
Add missing devm_i2c_add_adapter() to devres.rst. It's introduced by
commit 07740c92ae57 ("i2c: core: add managed function for adding i2c
adapters").
Fixes: 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")
Cc: Yicong Yang <yangyicong@hisilicon.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Dmitry Osipenko <digetx@gmail.com>
Cc: Wolfram Sang <wsa@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
Documentation/driver-api/driver-model/devres.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 853396d19419..ec97261530da 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -280,6 +280,7 @@ GPIO
I2C
devm_i2c_new_dummy_device()
+ devm_i2c_add_adapter()
IIO
devm_iio_device_alloc()
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: devres: add missing I2C helper
2022-11-02 3:40 [PATCH] Documentation: devres: add missing I2C helper Yang Yingliang
@ 2022-11-02 7:29 ` Yicong Yang
2022-11-02 10:38 ` Andy Shevchenko
1 sibling, 0 replies; 4+ messages in thread
From: Yicong Yang @ 2022-11-02 7:29 UTC (permalink / raw)
To: Yang Yingliang, linux-i2c
Cc: yangyicong, Andy Shevchenko, Dmitry Osipenko, Wolfram Sang,
Jonathan Corbet
On 2022/11/2 11:40, Yang Yingliang wrote:
> Add missing devm_i2c_add_adapter() to devres.rst. It's introduced by
> commit 07740c92ae57 ("i2c: core: add managed function for adding i2c
> adapters").
>
> Fixes: 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")
> Cc: Yicong Yang <yangyicong@hisilicon.com>
I forgot to update the doc, sorry for that.
Acked-by: Yicong Yang <yangyicong@hisilicon.com>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: Dmitry Osipenko <digetx@gmail.com>
> Cc: Wolfram Sang <wsa@kernel.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
> Documentation/driver-api/driver-model/devres.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 853396d19419..ec97261530da 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -280,6 +280,7 @@ GPIO
>
> I2C
> devm_i2c_new_dummy_device()
> + devm_i2c_add_adapter()
>
> IIO
> devm_iio_device_alloc()
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: devres: add missing I2C helper
2022-11-02 3:40 [PATCH] Documentation: devres: add missing I2C helper Yang Yingliang
2022-11-02 7:29 ` Yicong Yang
@ 2022-11-02 10:38 ` Andy Shevchenko
2022-11-02 13:22 ` Yang Yingliang
1 sibling, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2022-11-02 10:38 UTC (permalink / raw)
To: Yang Yingliang
Cc: linux-i2c, Yicong Yang, Dmitry Osipenko, Wolfram Sang,
Jonathan Corbet
On Wed, Nov 02, 2022 at 11:40:53AM +0800, Yang Yingliang wrote:
> Add missing devm_i2c_add_adapter() to devres.rst. It's introduced by
> commit 07740c92ae57 ("i2c: core: add managed function for adding i2c
> adapters").
Okay,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Fixes: 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")
> Cc: Yicong Yang <yangyicong@hisilicon.com>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: Dmitry Osipenko <digetx@gmail.com>
> Cc: Wolfram Sang <wsa@kernel.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
Next time, please use --cc when sending patches, instead of Cc'ing explicitly
in the body of the message. The rationale is that we have this email in the
archives anyway and every additional byte in the commit message is a waste of
resources (storage, energy and as a result not so environment friendly).
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
> Documentation/driver-api/driver-model/devres.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 853396d19419..ec97261530da 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -280,6 +280,7 @@ GPIO
>
> I2C
> devm_i2c_new_dummy_device()
> + devm_i2c_add_adapter()
Perhaps keep this list ordered?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: devres: add missing I2C helper
2022-11-02 10:38 ` Andy Shevchenko
@ 2022-11-02 13:22 ` Yang Yingliang
0 siblings, 0 replies; 4+ messages in thread
From: Yang Yingliang @ 2022-11-02 13:22 UTC (permalink / raw)
To: Andy Shevchenko
Cc: linux-i2c, Yicong Yang, Dmitry Osipenko, Wolfram Sang,
Jonathan Corbet, yangyingliang
On 2022/11/2 18:38, Andy Shevchenko wrote:
> On Wed, Nov 02, 2022 at 11:40:53AM +0800, Yang Yingliang wrote:
>> Add missing devm_i2c_add_adapter() to devres.rst. It's introduced by
>> commit 07740c92ae57 ("i2c: core: add managed function for adding i2c
>> adapters").
> Okay,
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
>> Fixes: 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")
>> Cc: Yicong Yang <yangyicong@hisilicon.com>
>> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> Cc: Dmitry Osipenko <digetx@gmail.com>
>> Cc: Wolfram Sang <wsa@kernel.org>
>> Cc: Jonathan Corbet <corbet@lwn.net>
> Next time, please use --cc when sending patches, instead of Cc'ing explicitly
> in the body of the message. The rationale is that we have this email in the
> archives anyway and every additional byte in the commit message is a waste of
> resources (storage, energy and as a result not so environment friendly).
OK, thanks for your advice.
>
>> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
>> ---
>> Documentation/driver-api/driver-model/devres.rst | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
>> index 853396d19419..ec97261530da 100644
>> --- a/Documentation/driver-api/driver-model/devres.rst
>> +++ b/Documentation/driver-api/driver-model/devres.rst
>> @@ -280,6 +280,7 @@ GPIO
>>
>> I2C
>> devm_i2c_new_dummy_device()
>> + devm_i2c_add_adapter()
> Perhaps keep this list ordered?
OK, I will send a v2 to change it with your review tag.
Thanks,
Yang
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-02 13:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-02 3:40 [PATCH] Documentation: devres: add missing I2C helper Yang Yingliang
2022-11-02 7:29 ` Yicong Yang
2022-11-02 10:38 ` Andy Shevchenko
2022-11-02 13:22 ` Yang Yingliang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox