RE: [PATCH 1/3] OMAP2+: wd_timer: separate watchdog disable code from the rest of mach-omap2/devices.c

2010-11-22 Thread DebBarma, Tarun Kanti
Hi Paul, snip ... + +int omap2_wd_timer_disable(struct omap_hwmod *oh) +{ + void __iomem *base; + int ret; + + if (!oh) { + pr_err(%s: Could not look up wdtimer_hwmod\n, __func__); + return -EINVAL; + } + Just a minor observation. I was wondering

[PATCH 1/3] OMAP2+: wd_timer: separate watchdog disable code from the rest of mach-omap2/devices.c

2010-11-16 Thread Paul Walmsley
Split the wd_timer disable code out into its own file, mach-omap2/wd_timer.c; it belongs in its own file rather than cluttering up devices.c. Signed-off-by: Paul Walmsley p...@pwsan.com Cc: Charulatha Varadarajan ch...@ti.com --- arch/arm/mach-omap2/Makefile |2 +