[media] soc_camera_platform: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 13 May 2013 09:19:21 +0000 (06:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 16:11:00 +0000 (13:11 -0300)
commitf253f184186324dceaad10fd61e2e427177eb485
tree37cafb30ac52f7afe92a0475731c54e95d07e136
parent721110b34cd9fe411182398850aeb5f6cb204935
[media] soc_camera_platform: Remove redundant platform_set_drvdata()

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
[g.liakhovetski@gmx.de: further simplified return statement]
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_platform.c