[V2,2/2] i2c: Add resource managed version of i2c_{new_dummy, unregister_device}
diff mbox

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

Commit Message

Laxman Dewangan Feb. 29, 2016, 1:37 p.m. UTC
i2c_new_dummy() and i2c_unregister_device() gained their devm_ wrappers.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
- New in series.

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

Patch
diff mbox

diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 831a536..e5279fa 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -253,6 +253,10 @@  GPIO
   devm_gpiod_get_optional()
   devm_gpiod_put()
 
+I2C
+  devm_i2c_new_dummy()
+  devm_i2c_unregister_device()
+
 IIO
   devm_iio_device_alloc()
   devm_iio_device_free()