Here are some minor cleanups for dmtimer code in preparation for moving it out to drivers.
There is OMAP1 specific dmtimer code earlier, that are handled in mach-omap1 directly now. Other than this, few functions and code has been refactored to reduce redundancy and some minor cleanups. OMAP1 hasn't been tested so I welcome anyone with HW to test this. Joel Fernandes (9): ARM: OMAP: dmtimer: Remove setting of clk parent indirectly through platform hook ARM: OMAP: dmtimer: Add comments on OMAP1 clock framework ARM: OMAP: dmtimer: Add note to set parent from DT ARM: OMAP: dmtimer: Add function to check if timer is running ARM: OMAP1: dmtimer: Rewrite modify of IDLECT mask to use new is_running function ARM: OMAP: dmtimer: Add a write_ctrl function to simplify bit setting ARM: OMAP: dmtimer: Have __omap_dm_timer_load_start set ST bit in CTRL instead of caller ARM: OMAP: dmtimer: Add function to check for timer availability ARM: OMAP: dmtimer: Get rid of check for mem resource error arch/arm/mach-omap1/include/mach/hardware.h | 2 + arch/arm/mach-omap1/timer.c | 34 ++++- arch/arm/mach-omap2/timer.c | 6 +- arch/arm/plat-omap/dmtimer.c | 185 +++++++++++++-------------- arch/arm/plat-omap/include/plat/dmtimer.h | 4 +- include/linux/platform_data/dmtimer-omap.h | 2 - 6 files changed, 129 insertions(+), 104 deletions(-) -- 1.7.9.5 -- 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/