Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions drivers/dma/phytium/phytium-ddmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ static void phytium_ddma_chan_remove(struct phytium_ddma_chan *chan)
list_del(&chan->vchan.chan.device_node);
}

static int phytium_ddma_remove(struct platform_device *pdev)
static void phytium_ddma_remove(struct platform_device *pdev)
{
struct phytium_ddma_device *ddma = platform_get_drvdata(pdev);
struct phytium_ddma_chan *chan = NULL;
Expand All @@ -859,8 +859,6 @@ static int phytium_ddma_remove(struct platform_device *pdev)

phytium_ddma_irq_disable(ddma);
phytium_ddma_disable(ddma);

return 0;
}

#ifdef CONFIG_PM_SLEEP
Expand Down
Loading