|
@@ -135,10 +135,8 @@ struct clk_hw *clk_hw_register_mux_table(struct device *dev, const char *name,
|
|
|
|
|
|
/* allocate the mux */
|
|
/* allocate the mux */
|
|
mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL);
|
|
mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL);
|
|
- if (!mux) {
|
|
|
|
- pr_err("%s: could not allocate mux clk\n", __func__);
|
|
|
|
|
|
+ if (!mux)
|
|
return ERR_PTR(-ENOMEM);
|
|
return ERR_PTR(-ENOMEM);
|
|
- }
|
|
|
|
|
|
|
|
init.name = name;
|
|
init.name = name;
|
|
if (clk_mux_flags & CLK_MUX_READ_ONLY)
|
|
if (clk_mux_flags & CLK_MUX_READ_ONLY)
|