summaryrefslogtreecommitdiff
path: root/drivers/clk/versatile/clk-versatile.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/versatile/clk-versatile.c')
-rw-r--r--drivers/clk/versatile/clk-versatile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/versatile/clk-versatile.c b/drivers/clk/versatile/clk-versatile.c
index fd54d5c0251c..8ed7a179f651 100644
--- a/drivers/clk/versatile/clk-versatile.c
+++ b/drivers/clk/versatile/clk-versatile.c
@@ -56,7 +56,7 @@ static const struct clk_icst_desc versatile_auxosc_desc __initconst = {
static void __init cm_osc_setup(struct device_node *np,
const struct clk_icst_desc *desc)
{
- struct clk *clk = ERR_PTR(-EINVAL);
+ struct clk *clk;
const char *clk_name = np->name;
const char *parent_name;