forked from analogdevicesinc/libiio
-
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.
iio: wrap iio device attributes in an iio_dev_attr struct
There's quite a bit of duplication that is done with these 3 attribute types. If we wrap them under a struct, this can be reduced. This is useful if we want to add more buffers per IIO device. As we will need to keep multiples of IIO buffer attributes (for each buffer). Signed-off-by: Alexandru Ardelean <[email protected]>
- Loading branch information
Showing
4 changed files
with
109 additions
and
109 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
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
Oops, something went wrong.