lkml.org 
[lkml]   [2016]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] clk: keystone: Fix some error messages
Date
Report 'bit-shift' in the error message as it is the property we are
looking for.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
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
\
 
 \ /
  Last update: 2016-10-24 22:45    [W:0.079 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site