iio: buffer: refactor buffer attributes setup
authorOctavian Purdila <octavian.purdila@intel.com>
Sat, 31 Jan 2015 00:00:00 +0000 (02:00 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 Feb 2015 18:46:29 +0000 (18:46 +0000)
Move all core (non-custom) buffer attributes to a vector to make it
easier to add more of them in the future.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c

Simple merge