projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c5ee3
)
clk: versatile: remove unneeded error message
author
Sudip Mukherjee
<sudipm.mukherjee@gmail.com>
Fri, 20 Nov 2015 08:52:28 +0000
(14:22 +0530)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 20 Nov 2015 17:17:18 +0000
(09:17 -0800)
If kzalloc fails we will already have many messages in the log and we do
not need another message to know that kzalloc for sp810 has failed.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/versatile/clk-sp810.c
patch
|
blob
|
history
diff --git
a/drivers/clk/versatile/clk-sp810.c
b/drivers/clk/versatile/clk-sp810.c
index 6a36c8bcb5de890ad89bc5eefc9bd315d109cf39..e78755e0ef7809fc4575fe082e1ff02d69c37a46 100644
(file)
--- a/
drivers/clk/versatile/clk-sp810.c
+++ b/
drivers/clk/versatile/clk-sp810.c
@@
-95,10
+95,8
@@
static void __init clk_sp810_of_setup(struct device_node *node)
int i;
bool deprecated;
- if (!sp810) {
- pr_err("Failed to allocate memory for SP810!\n");
+ if (!sp810)
return;
- }
if (of_clk_parent_fill(node, parent_names, num) != num) {
pr_warn("Failed to obtain parent clocks for SP810!\n");