From: Michael Hennerich Date: Wed, 18 May 2011 13:42:07 +0000 (+0100) Subject: staging:iio:meter:ade7758: Use iio channel spec and miscellaneous other changes. X-Git-Tag: v3.0-rc1~336^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a27a023f8f66a8361c5e3d8160a690f480479ec;p=pandora-kernel.git staging:iio:meter:ade7758: Use iio channel spec and miscellaneous other changes. Use iio channel spec for the ring buffer channels. Add/update file comment/license headers. Use available_scan_masks to prevent that multiple channels are enabled. Remove wavefrom type attributes. (no handled directly by the scan_elements) Use SPI_MODE_1. Move ade7758_initial_setup() before ade7758_probe_trigger() to ensure the ADE7758 interrupt is disabled when the host interrupt get's enabled. Add spi_device_id. Update ring buffer setup. Some backporting needed to ensure driver builds all the way through core changes. Signed-off-by: Michael Hennerich Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed