Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363501
b: refs/heads/master
c: e72b7bb
h: refs/heads/master
i:
  363499: ed22752
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 16115c5 commit 2a91cc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff4a44ce327567b83cae846c662c732758280bc6
refs/heads/master: e72b7bbd178bf0081b5f62f1daaf86a7daf13f3e
8 changes: 8 additions & 0 deletions trunk/drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,14 @@ int omap_bandgap_update_alert_threshold(struct omap_bandgap *bg_ptr, int id,
return err;
}

/**
* omap_bandgap_validate() - helper to check the sanity of a struct omap_bandgap
* @bg_ptr: struct omap_bandgap pointer
* @id: bandgap sensor id
*
* Checks if the bandgap pointer is valid and if the sensor id is also
* applicable.
*/
static inline int omap_bandgap_validate(struct omap_bandgap *bg_ptr, int id)
{
int ret = 0;
Expand Down

0 comments on commit 2a91cc0

Please sign in to comment.