Skip to content

Commit

Permalink
staging: omap-thermal: ADC section
Browse files Browse the repository at this point in the history
Section of ADC helpers functions

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent fb65b88 commit 2f6af4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f6af4b

Please sign in to comment.