mtd: denali_dt: Fix incorrect error check
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Mar 2013 09:41:11 +0000 (15:11 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 13:03:53 +0000 (14:03 +0100)
commit6c67050ab108bcce2576fa1d7a0557eb0376520a
treeda16e73dc12c63f5ebe46413a58bc690c3028618
parent837a6ba4f3b6d23026674e6af6b6849a4634fff9
mtd: denali_dt: Fix incorrect error check

The return value of devm_ioremap_nocache should be checked here instead
of res.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali_dt.c
This page took 0.047347 seconds and 5 git commands to generate.