summaryrefslogtreecommitdiffstats
path: root/drivers/clk/versatile/clk-vexpress-osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/versatile/clk-vexpress-osc.c')
-rw-r--r--drivers/clk/versatile/clk-vexpress-osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/versatile/clk-vexpress-osc.c b/drivers/clk/versatile/clk-vexpress-osc.c
index 2dc8b41a339..a535c7bf857 100644
--- a/drivers/clk/versatile/clk-vexpress-osc.c
+++ b/drivers/clk/versatile/clk-vexpress-osc.c
@@ -102,7 +102,7 @@ void __init vexpress_osc_of_setup(struct device_node *node)
osc = kzalloc(sizeof(*osc), GFP_KERNEL);
if (!osc)
- goto error;
+ return;
osc->func = vexpress_config_func_get_by_node(node);
if (!osc->func) {