Commit a1ceb83
committed
genirq/manage: Rework can_request_irq()
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.
Make the return value boolean to reflect it's meaning.
No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/20250429065422.187250840@linutronix.de1 parent 8589e32 commit a1ceb83
2 files changed
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
| 703 | + | |
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
| 891 | + | |
892 | 892 | | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
| 893 | + | |
| 894 | + | |
899 | 895 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
904 | 900 | | |
905 | | - | |
906 | | - | |
| 901 | + | |
907 | 902 | | |
908 | 903 | | |
909 | 904 | | |
| |||
0 commit comments