mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 09:20:17 +00:00
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
@ -231,6 +231,8 @@ static irqreturn_t omap_bandgap_tshut_irq_handler(int irq, void *data)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
/*** Helper functions which manipulate conversion ADC <-> mi Celsius ***/
|
||||
|
||||
static
|
||||
int adc_to_temp_conversion(struct omap_bandgap *bg_ptr, int id, int adc_val,
|
||||
int *t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user