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

Commit 7641103d authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

thermal: adc_tm: Update support for non-thermal ADC_TM clients



Add exported client functions in include file
for clients.

Change-Id: I1e5bed0ea6778158dbf1ce64eccfb6f59ea68e10
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent a487c3ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -332,6 +332,10 @@ int32_t adc_tm_absolute_rthr(const struct adc_tm_data *data,
void notify_adc_tm_fn(struct work_struct *work);

struct adc_tm_chip *get_adc_tm(struct device *dev, const char *name);
int32_t adc_tm5_channel_measure(struct adc_tm_chip *chip,
					struct adc_tm_param *param);
int32_t adc_tm5_disable_chan_meas(struct adc_tm_chip *chip,
					struct adc_tm_param *param);

int adc_tm_is_valid(struct adc_tm_chip *chip);