From: Eduardo Valentin Date: Fri, 15 Mar 2013 13:00:22 +0000 (-0400) Subject: staging: omap-thermal: device initialization section X-Git-Tag: v3.10-rc1~192^2~611 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e195aba425069b259cf1d66b6309a3aeedb23a14;p=~emulex%2Finfiniband.git staging: omap-thermal: device initialization section Section of helper functions to initilize the bandgap device 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 2a13bf03981..8c7ac0e3718 100644 --- a/drivers/staging/omap-thermal/omap-bandgap.c +++ b/drivers/staging/omap-thermal/omap-bandgap.c @@ -703,6 +703,8 @@ void *omap_bandgap_get_sensor_data(struct omap_bandgap *bg_ptr, int id) return bg_ptr->conf->sensors[id].data; } +/*** Helper functions used during device initialization ***/ + static int omap_bandgap_force_single_read(struct omap_bandgap *bg_ptr, int id) {