linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver
@ 2012-05-09 13:10 Laxman Dewangan
  2012-05-09 13:10 ` [PATCH 1/4] mfd: tps65910: cache register when we need it Laxman Dewangan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Laxman Dewangan @ 2012-05-09 13:10 UTC (permalink / raw)
  To: grant.likely, linus.walleij, sameo, broonie, jedu, lrg
  Cc: linux-kernel, Laxman Dewangan

This series does cleanup in the mfd/tps65910 as follows:
- Do not cache the register when initailizing regmap. Cache when
  actually when we need it.
- Convert the allocation to use devm_* apis.
- Move the gpio as platform driver and register it as mfd sub devices.

Laxman Dewangan (4):
  mfd: tps65910: cache register when we need it
	Remove the chaching of register in regmap initialization.

  mfd: tps65910: convert all allocation to devm_*
	Convert the allocation to use devm_* apis.

  mfd: tps65910: register gpio as mfd device
  gpio: tps65910: move this as platform driver
	Above two patch to make gpio driver as platform driver and register
	as mfd sub device from core driver.
	

 drivers/gpio/gpio-tps65910.c |  140 ++++++++++++++++++++++++++++++-----------
 drivers/mfd/Kconfig          |    1 -
 drivers/mfd/tps65910.c       |   37 ++++-------
 include/linux/mfd/tps65910.h |    6 --
 4 files changed, 115 insertions(+), 69 deletions(-)


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

end of thread, other threads:[~2012-05-11 19:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-09 13:10 [PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver Laxman Dewangan
2012-05-09 13:10 ` [PATCH 1/4] mfd: tps65910: cache register when we need it Laxman Dewangan
2012-05-09 14:55   ` Mark Brown
2012-05-09 13:10 ` [PATCH 2/4] mfd: tps65910: convert all allocation to devm_* Laxman Dewangan
2012-05-09 15:11   ` Mark Brown
2012-05-09 13:10 ` [PATCH 3/4] mfd: tps65910: register gpio as mfd device Laxman Dewangan
2012-05-09 13:10 ` [PATCH 4/4] gpio: tps65910: move this as platform driver Laxman Dewangan
2012-05-11 17:40   ` Grant Likely
2012-05-11 19:08     ` Mark Brown
2012-05-11 13:14 ` [PATCH 0/4] mfd:tps65910: use devm_* and register gpio " Samuel Ortiz
2012-05-11 13:18   ` Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).