[media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 3 Jul 2012 08:54:33 +0000 (05:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 21:16:50 +0000 (18:16 -0300)
commit87e9429490dfe610faaf209795942272bc7a730a
tree6f05f24ddc3f18b22bc0a188ece4658a387a51b0
parent91268a5e788c5bf246650c3a8c1a4626b9f0fe11
[media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file

module_platform_driver makes the code simpler by eliminating module_init
and module_exit calls.

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