summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2018-01-31 09:21:06 +0100
committerVinod Koul <vinod.koul@intel.com>2018-01-31 09:21:06 +0100
commit6811837d5332aa7312d901533ff89985d6ab9df2 (patch)
treef1a988dd3ced8efbd20f365e73241d5eaf597acc /drivers/dma
parentMerge branch 'topic/sprd' into for-linus (diff)
parentdmaengine: stm32-dmamux: Remove unnecessary platform_get_resource() error check (diff)
downloadlinux-6811837d5332aa7312d901533ff89985d6ab9df2.tar.xz
linux-6811837d5332aa7312d901533ff89985d6ab9df2.zip
Merge branch 'topic/stm' into for-linus
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/stm32-dmamux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/stm32-dmamux.c b/drivers/dma/stm32-dmamux.c
index d5db0f6e1ff8..4dbb30cf94ac 100644
--- a/drivers/dma/stm32-dmamux.c
+++ b/drivers/dma/stm32-dmamux.c
@@ -253,9 +253,6 @@ static int stm32_dmamux_probe(struct platform_device *pdev)
}
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- if (!res)
- return -ENODEV;
-
iomem = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(iomem))
return PTR_ERR(iomem);