Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249848
b: refs/heads/master
c: 0bb8be6
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 5eb4291 commit 414ff97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d91a0ab06ca27ec552233b5225e80661125fe1b2
refs/heads/master: 0bb8be643161ae1dc5c5a0255cf5ca20f7de7b5a
5 changes: 4 additions & 1 deletion trunk/drivers/staging/iio/adc/ad7816.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ static const struct attribute_group ad7816_attribute_group = {
* temperature bound events
*/

#define IIO_EVENT_CODE_AD7816_OTI IIO_BUFFER_EVENT_CODE(0)
#define IIO_EVENT_CODE_AD7816_OTI IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_TEMP, \
0, \
IIO_EV_TYPE_THRESH, \
IIO_EV_DIR_FALLING)

static irqreturn_t ad7816_event_handler(int irq, void *private)
{
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/staging/iio/adc/adt75.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ static const struct attribute_group adt75_attribute_group = {
* temperature bound events
*/

#define IIO_EVENT_CODE_ADT75_OTI IIO_BUFFER_EVENT_CODE(0)
#define IIO_EVENT_CODE_ADT75_OTI IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_TEMP, \
0, \
IIO_EV_TYPE_THRESH, \
IIO_EV_DIR_FALLING)

static irqreturn_t adt75_event_handler(int irq, void *private)
{
Expand Down

0 comments on commit 414ff97

Please sign in to comment.