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

From: Laxman Dewangan
Date: Mon Feb 29 2016 - 08:50:16 EST


i2c_new_dummy() and i2c_unregister_device() gained their devm_ wrappers.

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

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

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()
--
2.1.4