Commit e9a081c
hid: cp2112: Use irq_get_trigger_type() helper
Use irq_get_trigger_type() to replace irq_get_irq_data() and then
irqd_get_trigger_type(), if the irq data is NULL it will return 0.
No functional changed.
Signed-off-by: Jinjie Ruan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>1 parent 6e44365 commit e9a081c
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1094 | 1094 | | |
1095 | 1095 | | |
1096 | 1096 | | |
1097 | | - | |
1098 | 1097 | | |
1099 | 1098 | | |
1100 | 1099 | | |
| |||
1111 | 1110 | | |
1112 | 1111 | | |
1113 | 1112 | | |
1114 | | - | |
1115 | | - | |
| 1113 | + | |
| 1114 | + | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | | - | |
1119 | | - | |
1120 | 1117 | | |
1121 | 1118 | | |
1122 | 1119 | | |
| |||
0 commit comments