public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [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

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