iio: as3935: allocate correct iio_device size
authorGeorge McCollister <george.mccollister@gmail.com>
Fri, 31 Oct 2014 15:44:00 +0000 (15:44 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 18:33:46 +0000 (18:33 +0000)
commitf73cde600d410ad4b31362a9c348016e40a146ea
tree0d770bb466f294d4ad8ebd66c8b6b5082ee53fb5
parent25afffe16d07909197f99163ca7cd1f80fb5cbdd
iio: as3935: allocate correct iio_device size

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/as3935.c