linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage
@ 2012-04-16 12:25 Tarun Kanti DebBarma
  2012-04-16 12:25 ` [PATCH 1/3] ARM: OMAP: dmtimer: Use devm_ API and do some cleanup in probe() Tarun Kanti DebBarma
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Tarun Kanti DebBarma @ 2012-04-16 12:25 UTC (permalink / raw)
  To: linux-omap
  Cc: tony, khilman, paul, b-cousson, santosh.shilimkar, rnayak,
	Tarun Kanti DebBarma

The devm API usage in probe() simplifies error handling operation.
Since iclk is not used in the driver it is removed from wherever
not needed. The fclk naming is made uniform as per OMAP4 platform,
viz. "timer1_fck", "timer2_fck", ... in all relevant places which
include hwmod database. With this change there is no more need to
construct clock names using sprintf() to be used in clk_get()
during initialization. Instead we can use oh->main_clk directly.

Reference:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Commit: e816b57a337ea3b755de72bec38c10c864f23015 (Linux 3.4-rc3)

Series is available here for reference:
git://gitorious.org/~tarunkanti/omap-sw-develoment/tarunkantis-linux-omap-dev dmtimer_cleanup_for_3.5

Tested on following platforms:
OMAP4430SDP, OMAP3430SDP, OMAP2430SDP.
Could not test on OMAP2420 due to unavailability of board.

Tarun Kanti DebBarma (3):
  ARM: OMAP: dmtimer: Use devm_ API and do some cleanup in probe()
  ARM: OMAP2+: dmtimer: cleanup iclk usage
  ARM: OMAP2+: dmtimer: cleanup fclk usage

 arch/arm/mach-omap2/clock2420_data.c       |   72 ++++++++++++++--------------
 arch/arm/mach-omap2/clock2430_data.c       |   72 ++++++++++++++--------------
 arch/arm/mach-omap2/clock3xxx_data.c       |   72 ++++++++++++++--------------
 arch/arm/mach-omap2/clock44xx_data.c       |   33 ++++--------
 arch/arm/mach-omap2/omap_hwmod_2420_data.c |   24 +++++-----
 arch/arm/mach-omap2/omap_hwmod_2430_data.c |   24 +++++-----
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   24 +++++-----
 arch/arm/mach-omap2/timer.c                |   10 +----
 arch/arm/plat-omap/dmtimer.c               |   51 +++++++------------
 arch/arm/plat-omap/include/plat/dmtimer.h  |    2 +-
 10 files changed, 176 insertions(+), 208 deletions(-)


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

end of thread, other threads:[~2012-04-18  8:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 12:25 [PATCH 0/3] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage Tarun Kanti DebBarma
2012-04-16 12:25 ` [PATCH 1/3] ARM: OMAP: dmtimer: Use devm_ API and do some cleanup in probe() Tarun Kanti DebBarma
2012-04-16 15:02   ` Shubhrajyoti
2012-04-17  5:01     ` DebBarma, Tarun Kanti
2012-04-16 12:25 ` [PATCH 2/3] ARM: OMAP2+: dmtimer: cleanup iclk usage Tarun Kanti DebBarma
2012-04-16 15:03   ` Hiremath, Vaibhav
2012-04-16 19:12     ` DebBarma, Tarun Kanti
2012-04-16 19:17       ` Hiremath, Vaibhav
2012-04-16 19:27     ` Paul Walmsley
2012-04-16 19:50       ` Hiremath, Vaibhav
2012-04-16 16:45   ` Paul Walmsley
2012-04-16 16:50   ` Paul Walmsley
2012-04-16 19:26     ` DebBarma, Tarun Kanti
2012-04-16 19:29       ` Paul Walmsley
2012-04-16 19:30       ` Paul Walmsley
2012-04-16 19:34         ` DebBarma, Tarun Kanti
2012-04-16 12:25 ` [PATCH 3/3] ARM: OMAP2+: dmtimer: cleanup fclk usage Tarun Kanti DebBarma
2012-04-16 16:40   ` Paul Walmsley
2012-04-16 20:51     ` Cousson, Benoit
2012-04-18  5:00       ` DebBarma, Tarun Kanti
2012-04-18  8:15         ` Paul Walmsley
2012-04-18  8:19           ` DebBarma, Tarun Kanti
2012-04-16 14:53 ` [PATCH 0/3] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage Hiremath, Vaibhav
2012-04-16 19:50   ` DebBarma, Tarun Kanti
2012-04-16 19:53     ` Hiremath, Vaibhav

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).