diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-05-17 12:47:10 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-06-07 18:25:14 +0200 |
commit | 56a468b5f6454aae0e32e4c6ead1abde5cc4dd23 (patch) | |
tree | ecd77262a9d0e697c9d15e7f1ff97fc1619b0e71 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | e84187fa6f55caa897ee7d408046907a65e88a78 (diff) |
soc: mediatek: pwrap: Check return value of platform_get_irq()
Check for the return value of platform_get_irq(): if no interrupt
is specified, it wouldn't make sense to call devm_request_irq().
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220517104712.24579-4-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions