Sachin Kamat 2f2ff14c27 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 <sachin.kamat@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-04-05 14:04:20 +01:00
..
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2012-09-29 15:00:46 +01:00
2012-11-22 12:07:03 +02:00
2012-11-15 15:37:46 +02:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:20:09 +01:00
2013-04-05 13:15:17 +01:00
2013-04-05 13:15:17 +01:00
2012-11-22 12:07:03 +02:00
2013-04-05 12:00:50 +01:00
2013-04-05 13:22:06 +01:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:22:30 +01:00
2012-11-22 12:07:03 +02:00
2012-11-22 12:07:03 +02:00
2012-09-29 15:00:46 +01:00
2012-11-22 12:07:03 +02:00
2013-04-05 13:22:06 +01:00
2012-11-22 12:07:03 +02:00
2012-09-29 15:00:46 +01:00