gpio: pch: Refactor pch_irq_type() to avoid unnecessary locking
When type is not supported there is no need to lock and check.
Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Loading
Please sign in to comment
When type is not supported there is no need to lock and check.
Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com>