diff options
| author | 2013-03-18 15:11:13 +0530 | |
|---|---|---|
| committer | 2013-04-05 14:04:20 +0100 | |
| commit | 2f2ff14c2760cd1db5dd05afddae9a5d9709047a (patch) | |
| tree | 2785e94bf34c60047c71bcd52bbee7200dd90c4d /scripts/kernel-doc | |
| parent | mtd: denali_dt: Use module_platform_driver() (diff) | |
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>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
