aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-02-12 14:22:23 -0500
committerJon Hunter <jon-hunter@ti.com>2013-04-01 15:53:39 -0400
commit7ab91596a55e05410fcaab6d7d066ce0e0d0a712 (patch)
treecfb97f383cb3236362ae74eca9c34de22074ec71 /arch
parentdf25cb4645a12b9300d4b14ceaf9071bc0f1cad8 (diff)
ARM: omap2: gpmc-onenand: Replace printk KERN_ERR with dev_warn()
Since the condition is not an error but a warning, replace printk KERN_ERR with dev_warn. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Reviewed-by: Jon Hunter <jon-hunter@ti.com> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/gpmc-onenand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc-onenand.c b/arch/arm/mach-omap2/gpmc-onenand.c
index a78921169210..4c917522d248 100644
--- 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)
367 367
368 if (cpu_is_omap24xx() && 368 if (cpu_is_omap24xx() &&
369 (gpmc_onenand_data->flags & ONENAND_SYNC_READWRITE)) { 369 (gpmc_onenand_data->flags & ONENAND_SYNC_READWRITE)) {
370 printk(KERN_ERR "Onenand using only SYNC_READ on 24xx\n"); 370 dev_warn(dev, "OneNAND using only SYNC_READ on 24xx\n");
371 gpmc_onenand_data->flags &= ~ONENAND_SYNC_READWRITE; 371 gpmc_onenand_data->flags &= ~ONENAND_SYNC_READWRITE;
372 gpmc_onenand_data->flags |= ONENAND_SYNC_READ; 372 gpmc_onenand_data->flags |= ONENAND_SYNC_READ;
373 } 373 }