.. | .. |
---|
13 | 13 | #include <linux/clk-provider.h> |
---|
14 | 14 | #include <linux/delay.h> |
---|
15 | 15 | #include <linux/err.h> |
---|
| 16 | +#include <linux/io.h> |
---|
16 | 17 | #include <linux/math64.h> |
---|
17 | 18 | #include <linux/of.h> |
---|
18 | 19 | #include <linux/of_address.h> |
---|
.. | .. |
---|
562 | 563 | |
---|
563 | 564 | init->num_parents = of_clk_get_parent_count(node); |
---|
564 | 565 | if (init->num_parents != 2) { |
---|
565 | | - pr_err("%s must have two parents\n", node->name); |
---|
| 566 | + pr_err("%pOFn must have two parents\n", node); |
---|
566 | 567 | goto free; |
---|
567 | 568 | } |
---|
568 | 569 | |
---|
.. | .. |
---|
571 | 572 | |
---|
572 | 573 | fd->clk_ref = of_clk_get(node, 0); |
---|
573 | 574 | if (IS_ERR(fd->clk_ref)) { |
---|
574 | | - pr_err("%s could not get clk_ref\n", node->name); |
---|
| 575 | + pr_err("%pOFn could not get clk_ref\n", node); |
---|
575 | 576 | goto free; |
---|
576 | 577 | } |
---|
577 | 578 | |
---|
578 | 579 | fd->clk_bypass = of_clk_get(node, 1); |
---|
579 | 580 | if (IS_ERR(fd->clk_bypass)) { |
---|
580 | | - pr_err("%s could not get clk_bypass\n", node->name); |
---|
| 581 | + pr_err("%pOFn could not get clk_bypass\n", node); |
---|
581 | 582 | goto free; |
---|
582 | 583 | } |
---|
583 | 584 | |
---|
584 | 585 | fd->base = of_iomap(node, 0); |
---|
585 | 586 | if (!fd->base) { |
---|
586 | | - pr_err("%s could not get IO base\n", node->name); |
---|
| 587 | + pr_err("%pOFn could not get IO base\n", node); |
---|
587 | 588 | goto free; |
---|
588 | 589 | } |
---|
589 | 590 | |
---|