[media] mx2_camera: use module_platform_driver_probe()
authorFabio Porcedda <fabio.porcedda@gmail.com>
Mon, 18 Mar 2013 09:43:56 +0000 (06:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 4 Apr 2013 22:39:03 +0000 (19:39 -0300)
commit64e171e3f66d75d792029ad53d203e4c113e9f0d
tree6570e810f12cba5fa769264201ff6d1e4b295ae5
parent8c31aeca6787d31dd4bd90bf573da944b44a2208
[media] mx2_camera: use module_platform_driver_probe()

The commit 39793c6 "[media] mx2_camera: Convert it to platform driver"
used module_platform_driver() to make code smaller,
but since the driver used platform_driver_probe is more appropriate
to use module_platform_driver_probe().

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/mx2_camera.c