diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-13 09:46:32 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-09-13 15:39:37 +0200 |
commit | e9a081c80cb377b84ead0ba46e8ec892184318bd (patch) | |
tree | 8daed2aa23661ddfcd0083161f6da6a87cdc11e6 /arch | |
parent | Merge tag 'hid-for-linus-2024081901' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
download | linux-e9a081c80cb377b84ead0ba46e8ec892184318bd.tar.xz linux-e9a081c80cb377b84ead0ba46e8ec892184318bd.zip |
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 <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240913074632.3779321-1-ruanjinjie@huawei.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions