diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-12 14:37:25 -0700 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-07-13 14:32:11 +0900 |
| commit | a4af122106f73ea510bb35a9ea1dedd980fc0db7 (patch) | |
| tree | b77b8e3ba704c23290bf0b68632b1b514f8dfcc2 /include | |
| parent | 4bbc16a353a98023e5ddfca7c1fc0e49971cf4d0 (diff) | |
ata: sata_dwc_460ex: use platform_get_irq()
Replace irq_of_parse_and_map() with platform_get_irq() in both
sata_dwc_dma_init_old() and sata_dwc_probe(). This is the preferred
way to obtain IRQs for platform devices and provides better error
reporting. Remove the now-unnecessary #include <linux/of_irq.h>.
irq_of_parse_and_map() requires irq_dispose_mapping(), which is missing.
Also fix unused variable when CONFIG_SATA_DWC_OLD_DMA is disabled.
Fixes: 62936009f35a ("[libata] Add 460EX on-chip SATA driver, sata_dwc_460ex")
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
