projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df25cb4
)
ARM: omap2: gpmc-onenand: Replace printk KERN_ERR with dev_warn()
author
Ezequiel Garcia
<
[email protected]
>
Tue, 12 Feb 2013 19:22:23 +0000
(16:22 -0300)
committer
Jon Hunter
<
[email protected]
>
Mon, 1 Apr 2013 19:53:39 +0000
(14:53 -0500)
Since the condition is not an error but a warning, replace
printk KERN_ERR with dev_warn.
Signed-off-by: Ezequiel Garcia <
[email protected]
>
Reviewed-by: Jon Hunter <
[email protected]
>
Signed-off-by: Jon Hunter <
[email protected]
>
arch/arm/mach-omap2/gpmc-onenand.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/gpmc-onenand.c
b/arch/arm/mach-omap2/gpmc-onenand.c
index a789211692105a5291781bb0045a51271422d5ec..4c917522d248dfc6645697fb4e3487dfedf3bd02 100644
(file)
--- a/
arch/arm/mach-omap2/gpmc-onenand.c
+++ b/
arch/arm/mach-omap2/gpmc-onenand.c
@@
-367,7
+367,7
@@
void gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
if (cpu_is_omap24xx() &&
(gpmc_onenand_data->flags & ONENAND_SYNC_READWRITE)) {
-
printk(KERN_ERR "Onenand
using only SYNC_READ on 24xx\n");
+
dev_warn(dev, "OneNAND
using only SYNC_READ on 24xx\n");
gpmc_onenand_data->flags &= ~ONENAND_SYNC_READWRITE;
gpmc_onenand_data->flags |= ONENAND_SYNC_READ;
}