summaryrefslogtreecommitdiff
path: root/drivers/clk/mvebu/armada-37xx-xtal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/mvebu/armada-37xx-xtal.c')
-rw-r--r--drivers/clk/mvebu/armada-37xx-xtal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/mvebu/armada-37xx-xtal.c b/drivers/clk/mvebu/armada-37xx-xtal.c
index 41271351cf1f..ca88e5e78b06 100644
--- a/drivers/clk/mvebu/armada-37xx-xtal.c
+++ b/drivers/clk/mvebu/armada-37xx-xtal.c
@@ -65,11 +65,9 @@ static int armada_3700_xtal_clock_probe(struct platform_device *pdev)
return ret;
}
-static int armada_3700_xtal_clock_remove(struct platform_device *pdev)
+static void armada_3700_xtal_clock_remove(struct platform_device *pdev)
{
of_clk_del_provider(pdev->dev.of_node);
-
- return 0;
}
static const struct of_device_id armada_3700_xtal_clock_of_match[] = {