-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 197383 b: refs/heads/master c: a1169c5 h: refs/heads/master i: 197381: e6f578a 197379: becbea6 197375: 69a481c v: v3
- Loading branch information
Jonathan Cameron
authored and
Greg Kroah-Hartman
committed
May 11, 2010
1 parent
a4cc946
commit a3ebb63
Showing
6 changed files
with
48 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 85798ec85ec6146bff3af886c06d72cc66940a05 | ||
refs/heads/master: a1169c5a0bfec75730a080a5f5d668e65144d1d1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Inclinometer related attributes | ||
*/ | ||
#include "../sysfs.h" | ||
|
||
#define IIO_DEV_ATTR_INCLI_X(_show, _addr) \ | ||
IIO_DEVICE_ATTR(incli_x_raw, S_IRUGO, _show, NULL, _addr) | ||
|
||
#define IIO_DEV_ATTR_INCLI_Y(_show, _addr) \ | ||
IIO_DEVICE_ATTR(incli_y_raw, S_IRUGO, _show, NULL, _addr) | ||
|
||
#define IIO_DEV_ATTR_INCLI_Z(_show, _addr) \ | ||
IIO_DEVICE_ATTR(incli_z_raw, S_IRUGO, _show, NULL, _addr) | ||
|
||
#define IIO_DEV_ATTR_INCLI_X_OFFSET(_mode, _show, _store, _addr) \ | ||
IIO_DEVICE_ATTR(incli_x_offset, _mode, _show, _store, _addr) | ||
|
||
#define IIO_DEV_ATTR_INCLI_Y_OFFSET(_mode, _show, _store, _addr) \ | ||
IIO_DEVICE_ATTR(incli_y_offset, _mode, _show, _store, _addr) | ||
|
||
#define IIO_DEV_ATTR_INCLI_Z_OFFSET(_mode, _show, _store, _addr) \ | ||
IIO_DEVICE_ATTR(incli_z_offset, _mode, _show, _store, _addr) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters