Documentation: devres: add missing I2C helper
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 2 Nov 2022 13:45:59 +0000 (21:45 +0800)
committerWolfram Sang <wsa@kernel.org>
Wed, 2 Nov 2022 20:16:38 +0000 (21:16 +0100)
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>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/driver-api/driver-model/devres.rst

index 687adb5..5608226 100644 (file)
@@ -279,6 +279,7 @@ GPIO
   devm_gpio_request_one()
 
 I2C
+  devm_i2c_add_adapter()
   devm_i2c_new_dummy_device()
 
 IIO