]> git.dujemihanovic.xyz Git - linux.git/commit
clk: mvebu: armada-37xx-tbg: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 6 Sep 2022 07:23:22 +0000 (07:23 +0000)
committerStephen Boyd <sboyd@kernel.org>
Sat, 1 Oct 2022 00:46:30 +0000 (17:46 -0700)
commitf816ac1115b9d4f874efa04f721eba99cf69067e
treed7d4730f86b4d5f9b539d95d0c163f5d2beaec8b
parent9c59a01caba26ec06fefd6ca1f22d5fd1de57d63
clk: mvebu: armada-37xx-tbg: Remove the unneeded result variable

Return the value of_clk_add_hw_provider() directly instead of storing it
in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220906072322.337253-1-ye.xingchen@zte.com.cn
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mvebu/armada-37xx-tbg.c