staging: omap-thermal: ADC section
Section of ADC helpers functions Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb65b88a58
commit
2f6af4b3db
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,8 @@ static irqreturn_t omap_bandgap_tshut_irq_handler(int irq, void *data)
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** Helper functions which manipulate conversion ADC <-> mi Celsius ***/
|
||||||
|
|
||||||
static
|
static
|
||||||
int adc_to_temp_conversion(struct omap_bandgap *bg_ptr, int id, int adc_val,
|
int adc_to_temp_conversion(struct omap_bandgap *bg_ptr, int id, int adc_val,
|
||||||
int *t)
|
int *t)
|
||||||
|
|
Loading…
Add table
Reference in a new issue