summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-11-20 11:52:28 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-11-20 20:17:18 +0300
commit59fe66313a41843bc4c237275e64f81cde121ac8 (patch)
tree81930ea36ecef99ce5b8e2f05d05f861ad49e548
parent47c5ee34d8d913a1ab1ae87544475c136ea25b26 (diff)
downloadlinux-59fe66313a41843bc4c237275e64f81cde121ac8.tar.xz
clk: versatile: remove unneeded error message
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>
-rw-r--r--drivers/clk/versatile/clk-sp810.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c
index 6a36c8bcb5de..e78755e0ef78 100644
--- 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");