Skip to content
Snippets Groups Projects
user avatar
Shawn Guo authored
Set ‘ret’ properly for error case to fix the build warning below.

drivers/clk/clk.c: In function ‘clk_register’:
drivers/clk/clk.c:3374:9: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  int i, ret;
         ^~~

Fixes: a494c5b9 ("clk: Aggregate power operation per clk")
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
9723c53e
Name Last commit Last update