[media] soc_camera: Use module_platform_driver macro
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 5 Sep 2012 11:25:27 +0000 (08:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 12:12:13 +0000 (09:12 -0300)
commitec0341b3b7817a5e8ebcf26091dde28dce2d7821
tree71beeee9102e40a05bfdc93b64581174cc3e72c3
parent1aeed35575c39a4716cd7e0103cb1bb4fe6c8c8a
[media] soc_camera: Use module_platform_driver macro

module_platform_driver simplifies the code by eliminating
module_init and module_exit calls.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/soc_camera.c