diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-11-22 12:33:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-11-22 12:45:28 +0100 |
commit | 9388093db44356af911adf3d355b7544a13a63cd (patch) | |
tree | a5a1e97e76eee4aa8f0d994c215bb2cf1b5c396c /arch/arm/lib/getuser.S | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-9388093db44356af911adf3d355b7544a13a63cd.tar.xz linux-9388093db44356af911adf3d355b7544a13a63cd.zip |
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: e4f1b49bda6d6aa2 ("clkdev: Add clk_hw based registration APIs")
Fixes: 944b9a41e004534f ("clk: ls1x: Migrate to clk_hw based OF and registration APIs")
Fixes: 44ce9a9ae977736f ("MIPS: TXx9: Convert to Common Clock Framework")
Fixes: f48d947a162dfa9d ("clk: clps711x: Migrate to clk_hw based OF and registration APIs")
Fixes: b4626a7f489238a5 ("CLK: Add Loongson1C clock support")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/getuser.S')
0 files changed, 0 insertions, 0 deletions