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

ARM: 8776/1: clkdev: Remove duplicated negative index check from __of_clk_get()



__of_clk_get() calls of_parse_phandle_with_args(), which rejects
negative indices since commit bd69f73f ("of: Create function for
counting number of phandles in a property").

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent ce397d21
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