clk: sophgo: Fix a warning about void returns value
authorTom Rini <trini@konsulko.com>
Wed, 1 Oct 2025 20:30:57 +0000 (14:30 -0600)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 16 Oct 2025 08:44:49 +0000 (16:44 +0800)
commit0ab7710a06401f8cac1d49bac5e66d25f3e6e4e1
treeb93002dc7df1df26b3fc7b2c653c046e033f6d76
parente6646b35f410c4ffbdb0f309d4dad1e16c1e4714
clk: sophgo: Fix a warning about void returns value

The cv1800b_clk_setfield function returns void, but was doing "return
writel(...);" and while seemingly having a void function return a void
function is not a warning, when readl is a macro this problem is shown.
Correct the code to instead simply call writel.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Yao Zi <ziyao@disroot.org>
drivers/clk/sophgo/clk-common.h