platform/x86: intel_punit_ipc: Avoid error message when retrieving IRQ
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Oct 2019 08:15:20 +0000 (11:15 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Oct 2019 07:55:10 +0000 (10:55 +0300)
commitda5fb83fb8dc5f95d4ab3a9f4641821fab34ce58
tree404f9bc1f99b8f1a4546afa7252f618d2042c80d
parent79e29cb8fbc5c568358989327a164257b05cc608
platform/x86: intel_punit_ipc: Avoid error message when retrieving IRQ

Since the commit

  7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()")

the platform_get_irq() started issuing an error message which is not
what we want here.

Switch to platform_get_irq_optional() to have only warning message
provided by the driver.

Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_punit_ipc.c