diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-13 03:35:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-13 15:57:07 +0200 |
commit | ff97b9c0df585d14c4c6b9c4cdcbeba43f7b885a (patch) | |
tree | 5bf807a9b558208e6bd1e8c5c94715f9e9a80517 /scripts | |
parent | regulator: core: fix the broken behavior of regulator_dev_lookup() (diff) | |
download | linux-ff97b9c0df585d14c4c6b9c4cdcbeba43f7b885a.tar.xz linux-ff97b9c0df585d14c4c6b9c4cdcbeba43f7b885a.zip |
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 'scripts')
0 files changed, 0 insertions, 0 deletions