[PATCH V3 0/2] devm_* API operation for fixed regulator

2014-01-28 Thread Manish Badarkhe
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH V3 0/2] devm_* API operation for fixed regulator

2014-01-28 Thread Manish Badarkhe
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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/