Skip to content
Commit 4dd9d75d authored by Bryan Brattlof's avatar Bryan Brattlof Committed by Xulin Sun
Browse files

thermal/drivers/k3_j72xx_bandgap: Simplify k3_thermal_get_temp() function

commit 1837b89663f84cdaca73eb7618047a53e8a795b4 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



commit 46cab93a upstream

The k3_thermal_get_temp() function can be simplified to return only
the result of k3_bgp_read_temp() without needing the 'ret' variable

Signed-off-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221031232702.10339-2-bb@ti.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@kernel.org>
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 5786fae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment