aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMinghao Chi <[email protected]>2022-03-09 05:37:32 +0000
committerDominik Brodowski <[email protected]>2022-05-28 09:25:31 +0200
commit2ef4bb24ff39ae4af89b80bcc5d516f55368e8ae (patch)
treeacf28f44a96587fdfd1c4528a8d406b863d9dcac /include/linux/fpga/fpga-mgr.h
parent3928cf08334ed895a31458cbebd8d4ec6d84c080 (diff)
pcmcia: Use platform_get_irq() to get the interrupt
It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ) for requesting IRQ's resources any more, as they can be not ready yet in case of DT-booting. platform_get_irq() instead is a recommended way for getting IRQ even if it was not retrieved earlier. It also makes code simpler because we're getting "int" value right away and no conversion from resource to int is required. Reported-by: Zeal Robot <[email protected]> Signed-off-by: Minghao Chi <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions