Skip to content
Commit e380ea81 authored by Jiada Wang's avatar Jiada Wang Committed by Eduardo Valentin
Browse files

thermal: rcar_gen3_thermal: Fix to show correct trip points number



Currently after store trip points number in 'ret', it is overwritten
afterwards, this cause incorrect trip point number always be shown in
the debug information after register of each thermal zone.

This patch fix this issue by moving get of trip number to
end of thermal zone registration.

Fixes: 6269e9f7 ("thermal: rcar_gen3_thermal: Register hwmon sysfs interface")
Signed-off-by: default avatarJiada Wang <jiada_wang@mentor.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 20386f0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment