mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V3 0/2] devm_* API operation for fixed regulator
@ 2014-01-29  4:02 Manish Badarkhe
  2014-01-29  4:03 ` [PATCH V3 1/2] devres: introduce API "devm_kstrdup" Manish Badarkhe
  2014-01-29  4:03 ` [PATCH V3 2/2] regulator: fixed: update to devm_* API Manish Badarkhe
  0 siblings, 2 replies; 7+ messages in thread
From: Manish Badarkhe @ 2014-01-29  4:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, broonie, lgirdwood, 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 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 |   44 ++++++++++++++------------------------------
 include/linux/device.h    |    2 ++
 3 files changed, 42 insertions(+), 30 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2014-01-29 11:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29  4:02 [PATCH V3 0/2] devm_* API operation for fixed regulator Manish Badarkhe
2014-01-29  4:03 ` [PATCH V3 1/2] devres: introduce API "devm_kstrdup" Manish Badarkhe
2014-01-29  4:18   ` Joe Perches
2014-01-29 11:08     ` Manish Badarkhe
2014-01-29 11:40       ` Mark Brown
2014-01-29 11:55         ` Manish Badarkhe
2014-01-29  4:03 ` [PATCH V3 2/2] regulator: fixed: update to devm_* API Manish Badarkhe

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®