mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V4 0/2] devm_* API operation for fixed regulator
@ 2014-01-29 14:57 Manish Badarkhe
  2014-01-29 14:57 ` [PATCH V4 1/2] devres: introduce API "devm_kstrdup" Manish Badarkhe
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Manish Badarkhe @ 2014-01-29 14:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: broonie, lgirdwood, gregkh, badarkhe.manish

Use devm_* API operations for fixed regulator driver so that
driver core will manage resources.

Also, introduce a new API "devm_kstrdup" and used it in fixed
regulator driver to manage resources.

Changes since V3:
 1. Update "devm_kstrdup" function to remove "size" argument.
    Also,used "devm_kmalloc" instead of "devm_kzalloc".

Changes since V2:
 1. Update driver to use new API "devm_kstrdup" instead of
    "kstrdup".
 2. Added a seperate patch to introduce new API "devm_kstrdup"

Changes since V1:
 1. Updated driver to use "devm_kzalloc" instead of "kstrdup".
 2. Updated commit message.

Manish Badarkhe (2):
  devres: introduce API "devm_kstrdup"
  regulator: fixed: update to devm_* API

 drivers/base/devres.c     |   26 ++++++++++++++++++++++++++
 drivers/regulator/fixed.c |   42 ++++++++++++------------------------------
 include/linux/device.h    |    1 +
 3 files changed, 39 insertions(+), 30 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-11 16:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 14:57 [PATCH V4 0/2] devm_* API operation for fixed regulator Manish Badarkhe
2014-01-29 14:57 ` [PATCH V4 1/2] devres: introduce API "devm_kstrdup" Manish Badarkhe
2014-01-29 14:57 ` [PATCH V4 2/2] regulator: fixed: update to devm_* API Manish Badarkhe
2014-02-03 13:15 ` [PATCH V4 0/2] devm_* API operation for fixed regulator Manish Badarkhe
2014-02-04 13:12   ` Mark Brown
2014-02-11 16:34 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®