iio: hid-sensor-magn-3d: Fix build warning
authorReyad Attiyat <reyad.attiyat@gmail.com>
Fri, 25 Jul 2014 21:14:00 +0000 (22:14 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 27 Jul 2014 13:16:29 +0000 (14:16 +0100)
Fix build warning, sizeof() called on dynamically
sized pointer, by removing the call and the dependent
function parameter. It is not needed or used in this
driver, when pushing values to an iio buffer.

Changes from v1
- Fix mistake in varible name

Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found