linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Documentation: devres: add missing I2C helper
@ 2022-11-02 13:45 Yang Yingliang
  2022-11-02 20:16 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2022-11-02 13:45 UTC (permalink / raw)
  To: linux-i2c, linux-doc
  Cc: yangyicong, andriy.shevchenko, digetx, wsa, corbet, yangyingliang

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")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Yicong Yang <yangyicong@hisilicon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v1 -> v2:
  Order them alphabetically.
---
 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..0afaabe78fb8 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -279,6 +279,7 @@ GPIO
   devm_gpio_request_one()
 
 I2C
+  devm_i2c_add_adapter()
   devm_i2c_new_dummy_device()
 
 IIO
-- 
2.25.1


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

* Re: [PATCH v2] Documentation: devres: add missing I2C helper
  2022-11-02 13:45 [PATCH v2] Documentation: devres: add missing I2C helper Yang Yingliang
@ 2022-11-02 20:16 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2022-11-02 20:16 UTC (permalink / raw)
  To: Yang Yingliang
  Cc: linux-i2c, linux-doc, yangyicong, andriy.shevchenko, digetx,
	corbet

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

On Wed, Nov 02, 2022 at 09:45:59PM +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").
> 
> Fixes: 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> Acked-by: Yicong Yang <yangyicong@hisilicon.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Applied to for-current, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2022-11-02 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-02 13:45 [PATCH v2] Documentation: devres: add missing I2C helper Yang Yingliang
2022-11-02 20:16 ` Wolfram Sang

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).