summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_fcu_controls.c
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2019-05-09 18:09:17 +0900
committerEduardo Valentin <edubezval@gmail.com>2019-05-14 07:00:43 -0700
commite380ea8117ce8c83c5da7063a3587a728132de0b (patch)
tree2ce423cf118d67b254c987cb46fb77fee6258743 /drivers/macintosh/windfarm_fcu_controls.c
parent20386f0d84a22214d1f037dedfffb6709dd0117a (diff)
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: 6269e9f790e8d ("thermal: rcar_gen3_thermal: Register hwmon sysfs interface") Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/macintosh/windfarm_fcu_controls.c')
0 files changed, 0 insertions, 0 deletions