diff options
author | Jinjie Ruan <[email protected]> | 2024-09-13 09:35:03 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-13 14:57:07 +0100 |
commit | ff97b9c0df585d14c4c6b9c4cdcbeba43f7b885a (patch) | |
tree | 5bf807a9b558208e6bd1e8c5c94715f9e9a80517 /rust/helpers.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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions