Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249853
b: refs/heads/master
c: 02db0bb
h: refs/heads/master
i:
  249851: 749dcb8
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 330675d commit 2b6a9b9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 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: 383f650f6cf739b256eb24c4a1d397d883de56ff
refs/heads/master: 02db0bb33acf8afbdb9fb4fbaa99f7185337098f
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/adc/ad7745.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ static const struct attribute_group ad774x_attribute_group = {
* data ready events
*/

#define IIO_EVENT_CODE_CAP_RDY IIO_BUFFER_EVENT_CODE(0)
#define IIO_EVENT_CODE_VT_RDY IIO_BUFFER_EVENT_CODE(1)
#define IIO_EVENT_CODE_CAP_RDY 0
#define IIO_EVENT_CODE_VT_RDY 1

#define IIO_EVENT_ATTR_CAP_RDY_SH(_evlist, _show, _store, _mask) \
IIO_EVENT_ATTR_SH(cap_rdy, _evlist, _show, _store, _mask)
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/iio/iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
/* naughty temporary hack to match these against the event version
- need to flattern these together */
enum iio_chan_type {
/* Need this here for now to support buffer events
* set to 0 to avoid changes to ring_generic.c */
IIO_BUFFER = 0,

/* real channel types */
IIO_IN,
IIO_CURRENT,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/iio/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ struct iio_const_attr {
#define IIO_EV_CLASS_LIGHT IIO_LIGHT
#define IIO_EV_CLASS_PROXIMITY IIO_PROXIMITY
#define IIO_EV_CLASS_TEMP IIO_TEMP
#define IIO_EV_CLASS_BUFFER IIO_BUFFER

#define IIO_EV_MOD_X IIO_MOD_X
#define IIO_EV_MOD_Y IIO_MOD_Y
Expand Down

0 comments on commit 2b6a9b9

Please sign in to comment.