Robin van der Gracht c6b4cac2d9 iio: st_sensors: Fix buffer copy
Use byte_for_channel as iterator to properly initialize the buffer.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: <Stable@vger.kernel.org>
2014-11-05 18:33:43 +00:00
..
2014-09-22 07:54:10 -07:00
2014-09-22 07:30:03 -07:00
2014-11-05 18:33:43 +00:00
2014-07-27 14:21:35 +01:00
2014-09-22 07:30:03 -07:00
2014-09-22 07:30:03 -07:00
2014-04-29 22:05:32 +01:00
2014-05-10 11:39:57 +01:00