hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/clk/ti/fapll.c
....@@ -13,6 +13,7 @@
1313 #include <linux/clk-provider.h>
1414 #include <linux/delay.h>
1515 #include <linux/err.h>
16
+#include <linux/io.h>
1617 #include <linux/math64.h>
1718 #include <linux/of.h>
1819 #include <linux/of_address.h>
....@@ -562,7 +563,7 @@
562563
563564 init->num_parents = of_clk_get_parent_count(node);
564565 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);
566567 goto free;
567568 }
568569
....@@ -571,19 +572,19 @@
571572
572573 fd->clk_ref = of_clk_get(node, 0);
573574 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);
575576 goto free;
576577 }
577578
578579 fd->clk_bypass = of_clk_get(node, 1);
579580 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);
581582 goto free;
582583 }
583584
584585 fd->base = of_iomap(node, 0);
585586 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);
587588 goto free;
588589 }
589590