net: phy: spi_ks8995: Introduce the use of devm_kzalloc
authorHimangi Saraogi <himangi774@gmail.com>
Sun, 3 Aug 2014 08:09:43 +0000 (13:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2014 19:55:23 +0000 (12:55 -0700)
This patch introduces the use of devm_kzalloc and does away with the
kfrees in the probe and remove functions. Also, a label is removed.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found