Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205780
b: refs/heads/master
c: 3bbb49a
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent f613298 commit 337c209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 751a37007ff2b063b25ff357d2cbdc8af17b65d0
refs/heads/master: 3bbb49aa3f667e6b871886bd75b3bb311d656eea
6 changes: 2 additions & 4 deletions trunk/drivers/staging/iio/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,7 @@ struct iio_const_attr {
* @_handler: handler function to be called
**/
#define IIO_EVENT_ATTR(_name, _show, _store, _mask, _handler) \
static struct iio_event_handler_list \
iio_event_##_name = { \
.handler = _handler, \
}; \
IIO_EVENT_SH(_name, _handler); \
static struct \
iio_event_attr \
iio_event_attr_##_name \
Expand Down Expand Up @@ -324,6 +321,7 @@ struct iio_const_attr {
#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

#define IIO_EVENT_CODE_DEVICE_SPECIFIC 1000

Expand Down

0 comments on commit 337c209

Please sign in to comment.