diff --git a/drivers/base/power/clock_ops.c b/drivers/base/power/clock_ops.c index 8abea669c82c2192e3b3f9d715faf0c02c7edf98..442ce010559bf53197b72c9c52c57b85bfab680d 100644 --- a/drivers/base/power/clock_ops.c +++ b/drivers/base/power/clock_ops.c @@ -94,7 +94,7 @@ static int __pm_clk_add(struct device *dev, const char *con_id, return -ENOMEM; } } else { - if (IS_ERR(ce->clk) || !__clk_get(clk)) { + if (IS_ERR(clk) || !__clk_get(clk)) { kfree(ce); return -ENOENT; }