]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Mark clk_core_evict_parent_cache_subtree() 'target' const
authorStephen Boyd <sboyd@kernel.org>
Thu, 17 Feb 2022 22:05:54 +0000 (14:05 -0800)
committerStephen Boyd <sboyd@kernel.org>
Sat, 26 Feb 2022 01:02:47 +0000 (17:02 -0800)
commit14c7e3956a5924221a8dc631cfc8d4e8be67ee6f
treeeda6563691ef90dc4e6fd2e32be9ee6d4a28a25a
parent06a7e22d3d148f0a151dbcd5f806fa0a6a3ec226
clk: Mark clk_core_evict_parent_cache_subtree() 'target' const

Clarify that the 'target' clk isn't being modified, instead it's being
searched for. Mark it const so the function can't modify it.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220217220554.2711696-3-sboyd@kernel.org
drivers/clk/clk.c