DORMANTno replies REVIEWED: 1 (0M)

1 review trailer.

[PATCH v1] OMAP: GPIO: Correct IP version message during boot

From: Varadarajan, Charulatha <hidden>
Date: 2010-12-16 14:09:46
Also in: linux-omap
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

With the commit 9a748053f5f58a77cd71864f1d7b804175b0e47d whose subject is
"OMAP: GPIO: Make omap_gpio_show_rev bank specific" (see [1]),
the IP version information for all the banks are shown during bootup,
but it does not show the bank number.

Use dev_info instead of printk in omap_gpio_show_rev() so that the
bank id is displayed along with the IP version

[1] http://www.spinics.net/lists/arm-kernel/msg105872.html

Signed-off-by: Varadarajan, Charulatha <redacted>
Acked-by: Felipe Balbi <redacted>
---
 arch/arm/plat-omap/gpio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 8d493b9..47aeaeb 100644
--- a/arch/arm/plat-omap/gpio.c
+++ b/arch/arm/plat-omap/gpio.c
@@ -1554,7 +1554,7 @@ static void __init omap_gpio_show_rev(struct gpio_bank *bank)
 	else
 		return;
 
-	printk(KERN_INFO "OMAP GPIO hardware version %d.%d\n",
+	dev_info(bank->dev, "hardware version %d.%d\n",
 		(rev >> 4) & 0x0f, rev & 0x0f);
 }
 
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help