staging/iio: Use correct argument for sizeof
commit232827fb8168d07844a589f0d4991afab16a23ea
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 21 Jan 2013 21:14:00 +0000 (21 21:14 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:07:53 +0000 (26 10:07 +0000)
tree4ffd5fb0b6bcca7b5292cf8a5be12abe312fc833
parent81ca486fe54c799033fac1eb6d93baf64df37ba6
staging/iio: Use correct argument for sizeof

found with coccicheck
sizeof when applied to a pointer typed expression gives the size of
the pointer

The semantic patch that makes this output is available
in scripts/coccinelle/misc/noderef.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/iio_hwmon.c