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: NOctavian Purdila <octavian.purdila@intel.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录