]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: proximity: as3935: remove redundant zeroing of tune_cap
authorMatt Ranostay <mranostay@gmail.com>
Thu, 16 Jun 2016 01:47:02 +0000 (18:47 -0700)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Jun 2016 19:59:12 +0000 (20:59 +0100)
commit4d462b85e727d482e6fa95252b909f3fce6851e0
treeb6a48cbd684057dc4059b34bad368e8bd28e70dc
parent765550e4d98d8f5931a3863781acb7c6b995161c
iio: proximity: as3935: remove redundant zeroing of tune_cap

This is redundant as the containing stucture is allocated as part of
iio_device_alloc using kzalloc and hence is already 0.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/as3935.c