summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-02-21 17:38:14 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 20:12:25 (GMT)
commit83c169d57e8e7496737ced86b93235990864044b (patch)
tree4934062db2f2fbb01a3e6c36c761411fed83ee64 /drivers/of
parent1d0d879405db0a845584a1e7a15b39de1f4f7e53 (diff)
downloadlinux-fsl-qoriq-83c169d57e8e7496737ced86b93235990864044b.tar.xz
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 <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions