diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-13 09:35:03 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-13 14:57:07 +0100 |
commit | ff97b9c0df585d14c4c6b9c4cdcbeba43f7b885a (patch) | |
tree | 5bf807a9b558208e6bd1e8c5c94715f9e9a80517 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | a1d12410d9b1ecff87d39f80b0d1cec895012ffa (diff) |
regulator: max8973: 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.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240913013503.3754712-1-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions