staging: goldfish: Introduce the use of managed interfaces
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 4 Jul 2014 17:19:57 +0000 (22:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:18:21 +0000 (12:18 -0700)
commit85f28332e3de1eeb7c902fd2763cf79012ccf26b
treeb254bf3afe437a6ce6579980b0794d886cc8fd9e
parent5a9077a83321abe390b2dffde0e3fe2be0f4e6bb
staging: goldfish: Introduce the use of managed interfaces

This patch introduces the use of managed interfaces like devm_kzalloc,
devm_ioremap, dmam_alloc_coherent, devm_request_irq and does away with
the calls to functions to free the allocated memory in the probe and
remove functions. Also, the labels are removed in the probe function.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_audio.c