Skip to content

Commit 8e987f1

Browse files
Yang Yingliangwsakernel
authored andcommitted
Documentation: devres: add missing I2C helper
Add missing devm_i2c_add_adapter() to devres.rst. It's introduced by commit 07740c9 ("i2c: core: add managed function for adding i2c adapters"). Fixes: 07740c9 ("i2c: core: add managed function for adding i2c adapters") Signed-off-by: Yang Yingliang <[email protected]> Acked-by: Yicong Yang <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent d6643d7 commit 8e987f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/driver-api/driver-model/devres.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ GPIO
279279
devm_gpio_request_one()
280280

281281
I2C
282+
devm_i2c_add_adapter()
282283
devm_i2c_new_dummy_device()
283284

284285
IIO

0 commit comments

Comments
 (0)