From: Lars-Peter Clausen Date: Mon, 4 Jun 2012 09:36:20 +0000 (+0200) Subject: staging:iio:dac:max517: Convert to channel spec X-Git-Tag: v3.6-rc1~100^2~926 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cd8d87446d521b7824aa1be84d767c8b5300601;p=pandora-kernel.git staging:iio:dac:max517: Convert to channel spec Convert the max517 driver to channel spec. As part of the conversion the "out_voltage_1&2_raw" property, which updates both channel 1 and 2 simultaneously with the same value, is lost, since this is not really covered by the IIO spec and has only a limited use case in practice. Also the channel index for the sysfs files is now zero based instead of one based, which means all channel numbers will be lower by one. E.g. "out_voltage_1_scale" instead of "out_voltage_2_scale" Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Acked-by: Roland Stigge Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed