]> git.karo-electronics.de Git - linux-beck.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)
commit03d795589d4e5adf83af0623ac5bac93ae2ce2a9
treeb6115484552f7fb2e20b91814a6e8caec5140786
parente010a2a04c3179c342e370e93ffb7d13eaf90dc4
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