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)
commit6da9b382bd2b6e1b910d7e3512a8a115c8c5f113
treef8b17ed267b92119f8cbdbcdaeaac66d5b791690
parentee3ac290e8aaa8396e697a11470703e616ab335f
iio: buffer: refactor buffer attributes setup

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