summaryrefslogtreecommitdiff
path: root/drivers/staging/omap-thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-03-15 13:00:22 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 16:02:23 (GMT)
commite195aba425069b259cf1d66b6309a3aeedb23a14 (patch)
tree1224b87cf4b752185d32ca449c187ff3fa3bcf47 /drivers/staging/omap-thermal
parent56f132f78e9ee6c45b3197290733aed1fd6eeafc (diff)
downloadlinux-fsl-qoriq-e195aba425069b259cf1d66b6309a3aeedb23a14.tar.xz
staging: omap-thermal: device initialization section
Section of helper functions to initilize the bandgap device Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omap-thermal')
-rw-r--r--drivers/staging/omap-thermal/omap-bandgap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c
index 2a13bf0..8c7ac0e 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)
{