commit | 08e7e0adaa17205f86894157d86c4bee3c714330 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Nov 26 18:55:15 2014 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Dec 12 12:28:33 2014 +0000 |
tree | 15d98c47f3eafdf539e8921c7cda4571eb9a67c3 | |
parent | d967cb6bd4e79c0cd7b150f1382d3d04e00408a0 [diff] |
iio: buffer: Allocate standard attributes in the core All buffers want at least the length and the enable attribute. Move the creation of those attributes to the core instead of having to do this in each individual buffer implementation. This allows us to get rid of some boiler-plate code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>