[media] saa6752hs: Convert to devm_kzalloc()
authorAxel Lin <axel.lin@ingics.com>
Sun, 10 Aug 2014 09:41:31 +0000 (06:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:33 +0000 (15:25 -0500)
commit6af6e9c84fcc8f86b15be607a9ae8afd1d1686ea
tree8a401729ab90f5f554ef4fd4fdc74242e60b6fb5
parent43e9d4ab0c14ccff3ed27f8e43274571e286f0ed
[media] saa6752hs: Convert to devm_kzalloc()

Using the managed function the kfree() calls can be removed from the
probe error path and the remove handler.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/saa6752hs.c