diff options
author | Ooi, Joyce <[email protected]> | 2020-01-09 00:16:20 +0800 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2020-01-09 10:35:05 +0100 |
commit | 1e4d149e901769fcde71be039227d184c6e4fda9 (patch) | |
tree | 4a605f1e5f5406a42afe39b62f13db6cc147d92e /scripts/gcc-plugins/structleak_plugin.c | |
parent | 2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a (diff) |
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: Ooi, Joyce <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions