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
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 +