Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9388093d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Russell King
Browse files

ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration



Unlike clk_register_clkdev(), clk_hw_register_clkdev() doesn't check for
passed error objects from a previous registration call. Hence the caller
of clk_hw_register_*() has to check for errors before calling
clk_hw_register_clkdev*().

Make clk_hw_register_clkdev() more similar to clk_register_clkdev() by
adding this error check, removing the burden from callers that do mass
registration.

Fixes: e4f1b49b ("clkdev: Add clk_hw based registration APIs")
Fixes: 944b9a41 ("clk: ls1x: Migrate to clk_hw based OF and registration APIs")
Fixes: 44ce9a9a ("MIPS: TXx9: Convert to Common Clock Framework")
Fixes: f48d947a ("clk: clps711x: Migrate to clk_hw based OF and registration APIs")
Fixes: b4626a7f ("CLK: Add Loongson1C clock support")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 1001354c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment