|
@@ -292,10 +292,8 @@ static struct clk *_register_divider(struct device *dev, const char *name,
|
|
|
|
|
|
/* allocate the divider */
|
|
/* allocate the divider */
|
|
div = kzalloc(sizeof(*div), GFP_KERNEL);
|
|
div = kzalloc(sizeof(*div), GFP_KERNEL);
|
|
- if (!div) {
|
|
|
|
- pr_err("%s: could not allocate divider clk\n", __func__);
|
|
|
|
|
|
+ if (!div)
|
|
return ERR_PTR(-ENOMEM);
|
|
return ERR_PTR(-ENOMEM);
|
|
- }
|
|
|
|
|
|
|
|
init.name = name;
|
|
init.name = name;
|
|
init.ops = &ti_clk_divider_ops;
|
|
init.ops = &ti_clk_divider_ops;
|