From: Eduardo Valentin Date: Fri, 15 Mar 2013 13:00:26 +0000 (-0400) Subject: staging: omap-thermal: document omap_bandgap_force_single_read X-Git-Tag: v3.10-rc1~192^2~607 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=31102a7202dec13296a7de8e72427966813da75e;p=~emulex%2Finfiniband.git staging: omap-thermal: document omap_bandgap_force_single_read Document function to initialize the conversion state machine. Signed-off-by: Eduardo Valentin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index d8939312953..065f3716c54 100644 --- a/drivers/staging/omap-thermal/omap-bandgap.c +++ b/drivers/staging/omap-thermal/omap-bandgap.c @@ -705,6 +705,14 @@ void *omap_bandgap_get_sensor_data(struct omap_bandgap *bg_ptr, int id) /*** Helper functions used during device initialization ***/ +/** + * omap_bandgap_force_single_read() - executes 1 single ADC conversion + * @bg_ptr: pointer to struct omap_bandgap + * @id: sensor id which it is desired to read 1 temperature + * + * Used to initialize the conversion state machine and set it to a valid + * state. Called during device initialization and context restore events. + */ static int omap_bandgap_force_single_read(struct omap_bandgap *bg_ptr, int id) {