Quoting Konrad Dybcio (2023-06-12 11:24:22) > From: Stephan Gerhold <stephan@xxxxxxxxxxx> > > icc_smd_rpm will do bus clock votes itself rather than taking the > unnecessary detour through the clock subsystem. However, it can only > do that after the clocks have been handed off and scaling has been > enabled in the RPM in clk-smd-rpm. > > Move the icc_smd_rpm registration from smd-rpm.c to clk-smd-rpm.c > to avoid any possible races. icc_smd_rpm gets the driver data from > the smd-rpm device, so still register the platform device on the > smd-rpm parent device. > > Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx> > [Konrad: remove unrelated cleanups] > Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> > --- Acked-by: Stephen Boyd <sboyd@xxxxxxxxxx>