Documentation: devres: add missing I2C helper
Subsystems (3)
PATCH 1/1 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").
--- Documentation/driver-api/driver-model/devres.rst | 1 + 1 file changed, 1 insertion(+)
Documentation/driver-api/driver-model/devres.rst +1 -0
@@ -280,6 +280,7 @@ GPIO I2C devm_i2c_new_dummy_device() + devm_i2c_add_adapter() IIO devm_iio_device_alloc()
Signature · 1 line
2.25.1
Quoted 6 lines · Yang Yingliang
Add missing
devm_i2c_add_adapter()todevres.rst. It's introduced by commit07740c92ae57("i2c: core: add managed function for adding i2c adapters").Fixes 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")Cc Yicong Yang <[email protected]>
I forgot to update the doc, sorry for that.
Quoted 22 lines
Cc Andy Shevchenko <[email protected]>Cc Dmitry Osipenko <[email protected]>Cc Wolfram Sang <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Yang Yingliang <[email protected]>--- Documentation/driver-api/driver-model/devres.rst | 1 + 1 file changed, 1 insertion(+)Documentation/driver-api/driver-model/devres.rst +1
-0@@ -280,6 +280,7 @@ GPIO I2C devm_i2c_new_dummy_device() + devm_i2c_add_adapter() IIO devm_iio_device_alloc()
Quoted 3 lines · Yang Yingliang
Add missing
devm_i2c_add_adapter()todevres.rst. It's introduced by commit07740c92ae57("i2c: core: add managed function for adding i2c adapters").
Okay,
Quoted 6 lines
Fixes 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")Cc Yicong Yang <[email protected]>Cc Andy Shevchenko <[email protected]>Cc Dmitry Osipenko <[email protected]>Cc Wolfram Sang <[email protected]>Cc Jonathan Corbet <[email protected]>
Next time, please use --cc when sending patches, instead of Cc'ing explicitly in the body of the message. The rationale is that we have this email in the archives anyway and every additional byte in the commit message is a waste of resources (storage, energy and as a result not so environment friendly).
Quoted 10 lines
Signed-off-by Yang Yingliang <[email protected]>--- Documentation/driver-api/driver-model/devres.rst | 1 + 1 file changed, 1 insertion(+)Documentation/driver-api/driver-model/devres.rst +0
-0
Documentation/driver-api/driver-model/devres.rst GPIO · line 283
Quoted 4 lines
Documentation/driver-api/driver-model/devres.rst +1
-0@@ -280,6 +280,7 @@ GPIO I2C devm_i2c_new_dummy_device() + devm_i2c_add_adapter()
Perhaps keep this list ordered?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 13 lines · Andy Shevchenko
Quoted 3 lines · Yang Yingliang
Add missing
devm_i2c_add_adapter()todevres.rst. It's introduced by commit07740c92ae57("i2c: core: add managed function for adding i2c adapters").Okay,
Reviewed-by Andy Shevchenko <[email protected]>Quoted 6 lines
Fixes 07740c92ae57 ("i2c: core: add managed function for adding i2c adapters")Cc Yicong Yang <[email protected]>Cc Andy Shevchenko <[email protected]>Cc Dmitry Osipenko <[email protected]>Cc Wolfram Sang <[email protected]>Cc Jonathan Corbet <[email protected]>
Quoted 4 lines
Next time, please use --cc when sending patches, instead of Cc'ing explicitly in the body of the message. The rationale is that we have this email in the archives anyway and every additional byte in the commit message is a waste of resources (storage, energy and as a result not so environment friendly).
OK, thanks for your advice.
Quoted 12 lines
Quoted 12 lines
Signed-off-by Yang Yingliang <[email protected]>--- Documentation/driver-api/driver-model/devres.rst | 1 + 1 file changed, 1 insertion(+)Documentation/driver-api/driver-model/devres.rst +0
-0@@ -280,6 +280,7 @@ GPIO
Quoted 4 lines
Documentation/driver-api/driver-model/devres.rst GPIO · line 283
Quoted 3 lines
Documentation/driver-api/driver-model/devres.rst +1
-0I2C devm_i2c_new_dummy_device() + devm_i2c_add_adapter()Perhaps keep this list ordered?
OK, I will send a v2 to change it with your review tag.
Thanks,
Yang