From: Eduardo Valentin Date: Fri, 15 Mar 2013 13:00:22 +0000 (-0400) Subject: staging: omap-thermal: device initialization section X-Git-Tag: firefly_0821_release~3680^2~674^2~611 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e195aba425069b259cf1d66b6309a3aeedb23a14;p=firefly-linux-kernel-4.4.55.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 2a13bf039811..8c7ac0e37183 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) {