Re: [PATCH] net: phy: spi_ks8995: Introduce the use of devm_kzalloc

2014-08-02 Thread David Miller
Please submit networking patches at least CC:'d to net...@vger.kernel.org, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

[PATCH] net: phy: spi_ks8995: Introduce the use of devm_kzalloc

2014-08-02 Thread Himangi Saraogi
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 Acked-by: Julia Lawall --- drivers/net/phy/spi_ks8995.c | 26 -- 1 file changed, 8 insertions(+), 18 de