Hi Peng, On Fri, 1 May 2020 at 07:22, Peng Fan <[email protected]> wrote: > > From: Ye Li <[email protected]> > > iMX8QM registers two thermal devices for CPUs, get the temperature > from "cpu-thermal1" device for A72 > > Signed-off-by: Ye Li <[email protected]> > Signed-off-by: Peng Fan <[email protected]> > --- > > V2: > Per Simon's comments, use uclass_get_device > > drivers/cpu/imx8_cpu.c | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass <[email protected]> This is still very strange code, but OK.

