mfd: tps6105x: Use managed resources when allocating memory
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 19 Jul 2014 08:30:10 +0000 (14:00 +0530)
committerLee Jones <lee.jones@linaro.org>
Fri, 25 Jul 2014 14:31:47 +0000 (15:31 +0100)
This patch introduces the use of devm_kzalloc instead of the
corresponding unmanaged version and does away with the kfrees in the
probe and remove functions. Also, a label is done away with.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

No differences found