Avoid using hwmod lookup using name string rather
retreive port info using the hwmod class interface.
Cc: Kevin Hilman khil...@deeprootsystems.com
Signed-off-by: Govindraj.R govindraj.r...@ti.com
---
arch/arm/mach-omap2/serial.c | 76 --
1 files changed,
-Original Message-
From: linux-omap-ow...@vger.kernel.org
[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Raja,
Govindraj
Sent: Friday, June 04, 2010 7:14 PM
To: linux-omap@vger.kernel.org
Cc: Kevin Hilman
Subject: [pm-wip/uart][PATCH 3/4] Serial: Avoid using hwmod lookup using
Gopinath, Thara th...@ti.com writes:
-uart = kzalloc(sizeof(struct omap_uart_state), GFP_KERNEL);
-if (WARN_ON(!uart))
-return;
+/*
+ * NOTE: omap_hwmod_init() has not yet been called,
+ * so no hwmod functions will work yet.
+ */