OSDN Git Service

clk: xgene: Remove return from void function
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 29 Jan 2016 20:57:15 +0000 (12:57 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 29 Jan 2016 20:57:54 +0000 (12:57 -0800)
This function doesn't return anything because it's void. Drop the
return statement.

Cc: Loc Ho <lho@apm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-xgene.c

index 266d573..bd7156b 100644 (file)
@@ -50,7 +50,7 @@ static inline u32 xgene_clk_read(void __iomem *csr)
 
 static inline void xgene_clk_write(u32 data, void __iomem *csr)
 {
-       return writel_relaxed(data, csr);
+       writel_relaxed(data, csr);
 }
 
 /* PLL Clock */