Skip to content
Commit 1e4d149e authored by Ooi, Joyce's avatar Ooi, Joyce Committed by Bartosz Golaszewski
Browse files

gpio: altera: change to platform_get_irq_optional to avoid false-positive error



This patch switches to platform_get_irq_optional() from
platform_get_irq() as it causes a false-positive error such as 'IRQ
index 0 not found' when IRQ is not used. The IRQ usage is optional in
this gpio-altera driver, so the error log is undesirable.

Signed-off-by: default avatarOoi, Joyce <joyce.ooi@intel.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 2a2cabd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment