staging: iio: max517: Fix iio_info changes
authorRoland Stigge <rst@work-microwave.de>
Thu, 9 Jun 2011 14:21:00 +0000 (16:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Jun 2011 17:07:47 +0000 (10:07 -0700)
commit8aa460e9e9f6eb6c23c8b244516bedddee901ceb
tree6b9c377a5c90253ed413d1fdbfefe6e6b2e60b21
parent8eb73c6c2675f708283822bd058ad1e416836ba2
staging: iio: max517: Fix iio_info changes

struct iio_info introduced a bug where the second channel of a MAX518 can't be
used. This commit fixes the typo (using max518 instead of the max517 struct).

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/dac/max517.c