x86/platform/intel-mid: Don't shadow error code of mp_map_gsi_to_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 19:24:24 +0000 (21:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 20 Jan 2017 09:07:41 +0000 (10:07 +0100)
commit939533955d1f1d51e8e37d7d675646ce9d55534b
treef1d93f548b44e4168766c21e12c9e0d5661dfcd8
parent910a26f6e952148a0c8815281737aaead640626c
x86/platform/intel-mid: Don't shadow error code of mp_map_gsi_to_irq()

When call mp_map_gsi_to_irq() and return its error code do not shadow it.
Note that 0 is not an error.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: http://lkml.kernel.org/r/20170119192425.189899-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c