Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220181
b: refs/heads/master
c: 820e882
h: refs/heads/master
i:
  220179: c95dbaf
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Oct 8, 2010
1 parent 2049b40 commit 054da8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: f4704d77fd1cbbc331af1e1fafd4c4f7fac1a744
refs/heads/master: 820e882a873356aa8260c826d38b9a866ef30db4
8 changes: 6 additions & 2 deletions trunk/drivers/staging/iio/adc/adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
#define IIO_CONST_ATTR_IN_NAMED_SCALE(_name, _string) \
IIO_CONST_ATTR(in_##_name##_scale, _string)

#define IIO_EVENT_CODE_IN_HIGH_THRESH(a) (IIO_EVENT_CODE_ADC_BASE + a)
#define IIO_EVENT_CODE_IN_LOW_THRESH(a) (IIO_EVENT_CODE_ADC_BASE + a + 32)
#define IIO_EVENT_CODE_IN_HIGH_THRESH(a) \
IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_IN, a, IIO_EV_TYPE_THRESH, \
IIO_EV_DIR_RISING)
#define IIO_EVENT_CODE_IN_LOW_THRESH(a) \
IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_IN, a, IIO_EV_TYPE_THRESH, \
IIO_EV_DIR_FALLING)
1 change: 0 additions & 1 deletion trunk/drivers/staging/iio/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ struct iio_const_attr {
#define IIO_EVENT_CODE_RING_BASE 200
#define IIO_EVENT_CODE_ACCEL_BASE 300
#define IIO_EVENT_CODE_GYRO_BASE 400
#define IIO_EVENT_CODE_ADC_BASE 500
#define IIO_EVENT_CODE_MISC_BASE 600
#define IIO_EVENT_CODE_LIGHT_BASE 700

Expand Down

0 comments on commit 054da8f

Please sign in to comment.