From: Sachin Kamat Date: Mon, 18 Mar 2013 09:41:13 +0000 (+0530) Subject: mtd: denali_dt: Change return value to fix smatch warning X-Git-Tag: v3.10-rc1~36^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2ff14c2760cd1db5dd05afddae9a5d9709047a;p=pandora-kernel.git mtd: denali_dt: Change return value to fix smatch warning platform_get_irq() also returns -ENXIO upon failure. Use it instead of hardcoded return type. Fixes the following smatch warning: drivers/mtd/nand/denali_dt.c:93 denali_dt_probe() info: why not propagate 'denali->irq' from platform_get_irq() instead of (-6)? Signed-off-by: Sachin Kamat Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed