diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-12 15:20:03 -0700 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-07-18 11:58:16 +0900 |
| commit | 692a9643058cb2be676756238f778b97588ee51c (patch) | |
| tree | b9606c63379b31c02a52cd9023f69b563cc792ad /tools/perf/scripts/python | |
| parent | 5aef4cb3210d74f92dc6bb86a431a34be93528a6 (diff) | |
ata: sata_mv: Use platform_get_irq() to get interrupt
Extract platform_get_irq() out of the conditional block to run it
unconditionally, replacing the direct use of irq_of_parse_and_map()
for DT-based systems. This simplifies the probe logic and avoids the
need for irq_dispose_mapping.
Remove dead branch for platform_get_irq(). It intercepts 0 and returns
-EINVAL, which goes to the first one.
Assisted-by: Antigravity:Gemini-3.5-Flash
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
