diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-13 15:46:32 +0800 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-09-13 15:39:37 +0200 |
commit | e9a081c80cb377b84ead0ba46e8ec892184318bd (patch) | |
tree | 8daed2aa23661ddfcd0083161f6da6a87cdc11e6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 6e4436539ae182dc86d57d13849862bcafaa4709 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions