Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425119

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

From Laxman Dewangan <ldewangan@nvidia.com>
Newsgroups linux.kernel
Subject [PATCH V3 2/2] i2c: Add devm_i2c_new_dummy() in managed list
Date 2016-06-17 16:00 +0200
Message-ID <rL2ts-7fP-45@gated-at.bofh.it> (permalink)
References <rL2tr-7fP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V3 1/2] i2c: core: add devm apis for i2c_new_dummy() Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-17 16:00 +0200
  [PATCH V3 2/2] i2c: Add devm_i2c_new_dummy() in managed list Laxman Dewangan <ldewangan@nvidia.com> - 2016-06-17 16:00 +0200
  Re: [PATCH V3 1/2] i2c: core: add devm apis for i2c_new_dummy() kbuild test robot <lkp@intel.com> - 2016-06-17 17:20 +0200

csiph-web