int ret;
struct ofnode_phandle_args args;
- debug("%s(dev=%p, index=%d, clk=%p)\n", __func__, dev, index, clk);
+ debug("%s(dev=%s, index=%d, clk=%p)\n", __func__, dev_read_name(dev),
+ index, clk);
assert(clk);
clk->dev = NULL;
bulk_get_err:
err = clk_release_all(bulk->clks, bulk->count);
if (err)
- debug("%s: could not release all clocks for %p\n",
- __func__, dev);
+ debug("%s: could not release all clocks for %s\n",
+ __func__, dev_read_name(dev));
return ret;
}
num_parents = dev_count_phandle_with_args(dev, "assigned-clock-parents",
"#clock-cells", 0);
if (num_parents < 0) {
- debug("%s: could not read assigned-clock-parents for %p\n",
- __func__, dev);
+ debug("%s: could not read assigned-clock-parents for %s\n",
+ __func__, dev_read_name(dev));
return 0;
}
{
const struct clk_ops *ops;
- debug("%s(dev=%p, clk=%p)\n", __func__, dev, clk);
+ debug("%s(dev=%s, clk=%p)\n", __func__, dev_read_name(dev), clk);
if (!clk)
return 0;
ops = clk_dev_ops(dev);