From: Lars-Peter Clausen Date: Wed, 26 Nov 2014 17:55:15 +0000 (+0100) Subject: iio: buffer: Allocate standard attributes in the core X-Git-Tag: fixes-v4.0-rc1~99^2~245^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e7e0adaa17205f86894157d86c4bee3c714330;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed