]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08b669744449566b4dc6d3be6960296052d572fe
treeb6115484552f7fb2e20b91814a6e8caec5140786
parent5518c9ed24918601b7df1af56d5fad7025861da9
iio: hid-sensor-magn-3d: Fix build warning

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>
drivers/iio/magnetometer/hid-sensor-magn-3d.c