[media] s5p-jpeg: Use devm_* functions in jpeg-core.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 14 May 2012 09:33:34 +0000 (06:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:05:44 +0000 (09:05 -0300)
commit5b58b95405aafbaf7362564dbcf6231836f1433c
treec4d30a8f68c93c0dfae21591afb472e7e14cb525
parent32fced05ad9ef4736e4a89b2361cccf56227529b
[media] s5p-jpeg: Use devm_* functions in jpeg-core.c file

devm_* functions are used to replace kzalloc, request_mem_region, ioremap
and request_irq functions in probe call. With the usage of devm_* functions
explicit freeing and unmapping is not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-jpeg/jpeg-core.c
drivers/media/video/s5p-jpeg/jpeg-core.h