[PATCH 2/3] clk: keystone: Fix some error messages

From: Christophe JAILLET
Date: Mon Oct 24 2016 - 16:43:51 EST


Report 'bit-shift' in the error message as it is the property we are
looking for.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
drivers/clk/keystone/pll.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/keystone/pll.c b/drivers/clk/keystone/pll.c
index 70d6fb2d23bc..35c0e2b011d1 100644
--- a/drivers/clk/keystone/pll.c
+++ b/drivers/clk/keystone/pll.c
@@ -271,7 +271,7 @@ static void __init of_pll_div_clk_init(struct device_node *node)
}

if (of_property_read_u32(node, "bit-shift", &shift)) {
- pr_err("%s: missing 'shift' property\n", __func__);
+ pr_err("%s: missing 'bit-shift' property\n", __func__);
return;
}

@@ -315,7 +315,7 @@ static void __init of_pll_mux_clk_init(struct device_node *node)
}

if (of_property_read_u32(node, "bit-shift", &shift)) {
- pr_err("%s: missing 'shift' property\n", __func__);
+ pr_err("%s: missing 'bit-shift' property\n", __func__);
return;
}

--
2.9.3