of: clk: Make of_clk_get_parent_{count,name}() parameter const
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 12 Feb 2020 09:43:17 +0000 (10:43 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 12 Feb 2020 20:57:59 +0000 (12:57 -0800)
commit4a4472fdc098fb78f52a0848788faf46674a8423
treead15c57855db17439fe64ca00435d17f64093686
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
of: clk: Make of_clk_get_parent_{count,name}() parameter const

of_clk_get_parent_count() and of_clk_get_parent_name() never modify the
device nodes passed, so they can be const.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lkml.kernel.org/r/20200212094317.1150-1-geert+renesas@glider.be
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c
include/linux/of_clk.h