diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-10-06 07:29:12 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-10-18 10:36:06 +0200 |
commit | 3fea699cb2d6c8c47289b16500590630f507d8fd (patch) | |
tree | 88c0ffb2d6ac76cd5c202696a51a315f99f870c0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 6b923db2867cb5e18ac4a1d5d5b4eecf0b619538 (diff) |
mtd: rawnand: mpc5121: Replace NO_IRQ by 0
NO_IRQ is used to check the return of irq_of_parse_and_map().
On some architecture NO_IRQ is 0, on other architectures it is -1.
irq_of_parse_and_map() returns 0 on error, independent of NO_IRQ.
So use 0 instead of using NO_IRQ.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/4e3ca3e0077ea124ea210c312e6e620f0f9e8bca.1665034065.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions