Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f8ec2a9 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Greg Kroah-Hartman
Browse files

staging: ti-soc-thermal: make unexported functions local



Move _ti_bandgap_write_threshold and _ti_bandgap_read_threshold to static
area, as they are local functions.

Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 03e859d3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id)
 * Validates the mCelsius range and update the requested threshold.
 * Call this function only if bandgap features HAS(TALERT).
 */
int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
static int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
				       bool hot)
{
	struct temp_sensor_data *ts_data;
@@ -529,7 +529,7 @@ int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
 * This function can be used to read t_hot or t_cold, depending on @hot value.
 * Call this function only if bandgap features HAS(TALERT).
 */
int _ti_bandgap_read_threshold(struct ti_bandgap *bgp, int id,
static int _ti_bandgap_read_threshold(struct ti_bandgap *bgp, int id,
				      int *val, bool hot)
{
	struct temp_sensor_registers *tsr;