lkml.org 
[lkml]   [2016]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH V3 2/2] i2c: Add devm_i2c_new_dummy() in managed list
Date
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(+)

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()
--
2.1.4
\
 
 \ /
  Last update: 2016-06-17 16:41    [W:0.057 / U:1.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site