summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-11-02 14:45:59 +0100
committerWolfram Sang <wsa@kernel.org>2022-11-02 21:16:38 +0100
commit8e987f1f4da92d9f1dd020418bfab9fe04b1c54c (patch)
tree64c5768d5dc902c4a65bb0f77d998975a1cd6774 /Documentation/driver-api
parenti2c: i801: add lis3lv02d's I2C address for Vostro 5568 (diff)
downloadlinux-8e987f1f4da92d9f1dd020418bfab9fe04b1c54c.tar.xz
linux-8e987f1f4da92d9f1dd020418bfab9fe04b1c54c.zip
Documentation: devres: add missing I2C helper
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>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/driver-model/devres.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 687adb58048e..56082265e8e5 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