Quoting Eugen Hristev (2024-11-29 06:24:46) > Reworked BCM_TCS_CMD macro in order to fix warnings from sparse: > > drivers/clk/qcom/clk-rpmh.c:270:28: warning: restricted __le32 degrades to integer > drivers/clk/qcom/clk-rpmh.c:270:28: warning: restricted __le32 degrades to integer > > While at it, used u32_encode_bits which made the code easier to > follow and removed unnecessary shift definitions. > > The use of cpu_to_le32 was wrong and thus removed. > > Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx> > --- Thanks Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>