[V3,2/2] i2c: Add devm_i2c_new_dummy() in managed list

Submitted by Laxman Dewangan on June 17, 2016, 1:42 p.m.

Details

Message ID 1466170942-21214-2-git-send-email-ldewangan@nvidia.com
State New
Headers show

Commit Message

Laxman Dewangan June 17, 2016, 1:42 p.m.
i2c_new_dummy() gained their devm_ wrappers. Add the
devm_i2c_new_dummy() in managed APIs list.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
Changes form V2:
- Drop the devm_i2c_unregister_device()

 Documentation/driver-model/devres.txt | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index f5e5223..472e446 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -259,6 +259,9 @@  GPIO
   devm_gpio_request_one()
   devm_gpio_free()
 
+I2C
+  devm_i2c_new_dummy()
+
 IIO
   devm_iio_device_alloc()
   devm_iio_device_free()