diff options
author | Vinod Koul <vinod.koul@intel.com> | 2018-01-31 09:21:06 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2018-01-31 09:21:06 +0100 |
commit | 6811837d5332aa7312d901533ff89985d6ab9df2 (patch) | |
tree | f1a988dd3ced8efbd20f365e73241d5eaf597acc /drivers/dma | |
parent | Merge branch 'topic/sprd' into for-linus (diff) | |
parent | dmaengine: stm32-dmamux: Remove unnecessary platform_get_resource() error check (diff) | |
download | linux-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.c | 3 |
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); |