diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-03-15 09:00:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 09:02:23 -0700 |
commit | e195aba425069b259cf1d66b6309a3aeedb23a14 (patch) | |
tree | 1224b87cf4b752185d32ca449c187ff3fa3bcf47 | |
parent | 56f132f78e9ee6c45b3197290733aed1fd6eeafc (diff) |
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>
-rw-r--r-- | drivers/staging/omap-thermal/omap-bandgap.c | 2 |
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 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) { |