I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so
simplifies their clean up paths.
Signed-off-by: Lad, Prabhakar prabhakar@ti.com
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
---
Changes for v2:
1: Fixed comments pointed out by Laurent.
Hi Prabhakar,
Thank you for the patches.
For the whole set,
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
On Friday 04 January 2013 10:41:15 Lad, Prabhakar wrote:
I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so
simplifies their clean up paths.