diff options
| author | 2022-05-17 12:47:10 +0200 | |
|---|---|---|
| committer | 2022-06-07 18:25:14 +0200 | |
| commit | 56a468b5f6454aae0e32e4c6ead1abde5cc4dd23 (patch) | |
| tree | ecd77262a9d0e697c9d15e7f1ff97fc1619b0e71 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | soc: mediatek: pwrap: Switch to devm_platform_ioremap_resource_byname() (diff) | |
| download | linux-dev-56a468b5f6454aae0e32e4c6ead1abde5cc4dd23.tar.xz linux-dev-56a468b5f6454aae0e32e4c6ead1abde5cc4dd23.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
