From: Lars-Peter Clausen Date: Tue, 21 Feb 2012 17:38:14 +0000 (+0100) Subject: staging:iio:dac:ad5064: Prepare driver for the addition of chip variants X-Git-Tag: v3.4-rc1~186^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83c169d57e8e7496737ced86b93235990864044b;p=pandora-kernel.git staging:iio:dac:ad5064: Prepare driver for the addition of chip variants Prepare the driver for the addition of chip variants with a different number of channels. This is done by not hard-coding the number of channels, but instead add a field to the chip info struct holding the number of channels. Also do not embed the channel specs into the chip info, but rather store them independently. This allows sharing the same channel spec between different chip infos. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed