Commit e9a081c8 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Benjamin Tissoires
Browse files

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: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240913074632.3779321-1-ruanjinjie@huawei.com


Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
parent 6e443653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment