diff options
-rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index e1bf5ef31bdd..bab95d7ad0ac 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c | |||
@@ -1107,11 +1107,6 @@ static int fsl_spdif_probe(struct platform_device *pdev) | |||
1107 | 1107 | ||
1108 | /* Get the addresses and IRQ */ | 1108 | /* Get the addresses and IRQ */ |
1109 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 1109 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
1110 | if (!res) { | ||
1111 | dev_err(&pdev->dev, "could not determine device resources\n"); | ||
1112 | return -ENXIO; | ||
1113 | } | ||
1114 | |||
1115 | regs = devm_ioremap_resource(&pdev->dev, res); | 1110 | regs = devm_ioremap_resource(&pdev->dev, res); |
1116 | if (IS_ERR(regs)) | 1111 | if (IS_ERR(regs)) |
1117 | return PTR_ERR(regs); | 1112 | return PTR_ERR(regs); |