]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Thu, 10 Oct 2019 11:13:54 +0000 (14:13 +0300)
commit5fd366bad2d856b6c9a2b2afb820426291a88e4f
treeff2d7081c1028ebbb421bfe06456cebe5adcda40
parenteba405f1569408fcc44593738b642ba1353fc727
platform/x86: intel_punit_ipc: Avoid error message when retrieving IRQ

Since the commit

  682a742ed79d ("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: 682a742ed79d ("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