From: Jonathan Cameron Date: Sun, 22 Jun 2014 19:59:00 +0000 (+0100) Subject: iio: imu: adis16400 switch sampling frequency attr to core support. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~779^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07a97d0493446566b25d4a966b5e4792c1ba8a3;p=pandora-kernel.git iio: imu: adis16400 switch sampling frequency attr to core support. By using the info_mask_shared_by_all element of the channel spec, access to the sampling frequency becomes available to in kernel users of the driver. It also shortens and simplifies the code. Signed-off-by: Jonathan Cameron Reviewed-by: Hartmut Knaack Acked-by: Lars-Peter Clausen --- Reading git-diff-tree failed