[media] soc_camera/mx1_camera: Use module_platform_driver_probe macro
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 5 Mar 2013 04:53:38 +0000 (01:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 17:35:27 +0000 (14:35 -0300)
commitbd3b4a3fde243d2870c703ed92c86d7026517569
treec2a96bc4bae52c2eabfeccc94fb4833d2c15323f
parentf2b4dc1a0fc8f52e06025497ce9bb252ff51f15f
[media] soc_camera/mx1_camera: Use module_platform_driver_probe macro

module_platform_driver_probe() eliminates the boilerplate and simplifies
the code.

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/mx1_camera.c