On 2022/11/2 11:40, Yang Yingliang wrote: > 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@xxxxxxxxxxxxx> I forgot to update the doc, sorry for that. Acked-by: Yicong Yang <yangyicong@xxxxxxxxxxxxx> > Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Cc: Dmitry Osipenko <digetx@xxxxxxxxx> > Cc: Wolfram Sang <wsa@xxxxxxxxxx> > Cc: Jonathan Corbet <corbet@xxxxxxx> > Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> > --- > 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() >