diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-03-15 14:00:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 17:02:23 +0100 |
commit | e195aba425069b259cf1d66b6309a3aeedb23a14 (patch) | |
tree | 1224b87cf4b752185d32ca449c187ff3fa3bcf47 | |
parent | staging: omap-thermal: refactor APIs handling threshold values (diff) | |
download | linux-e195aba425069b259cf1d66b6309a3aeedb23a14.tar.xz linux-e195aba425069b259cf1d66b6309a3aeedb23a14.zip |
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) { |