Re: [PATCH] [media] saa6752hs: Convert to devm_kzalloc()

2014-08-10 Thread Prabhakar Lad
On Sun, Aug 10, 2014 at 10:41 AM, Axel Lin wrote: > Using the managed function the kfree() calls can be removed from the > probe error path and the remove handler. > > Signed-off-by: Axel Lin Acked-by: Lad, Prabhakar Thanks, --Prabhakar Lad > --- > drivers/media/i2c/saa6752hs.c | 6 +++--- >

[PATCH] [media] saa6752hs: Convert to devm_kzalloc()

2014-08-10 Thread Axel Lin
Using the managed function the kfree() calls can be removed from the probe error path and the remove handler. Signed-off-by: Axel Lin --- drivers/media/i2c/saa6752hs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/saa6752hs.c b/drivers/media/i2c/saa6