iio:trigger: Introduce the use of devm_kzalloc
authorHimangi Saraogi <himangi774@gmail.com>
Tue, 7 Jan 2014 22:19:00 +0000 (22:19 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 7 Jul 2014 17:12:02 +0000 (18:12 +0100)
This patch introduces the use of the managed version of kzalloc and
removes the kfrees in the probe and remove functions. More return
paths are added and the labels are renamed to order them.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/trigger/iio-trig-bfin-timer.c