]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit362a7a05051cd50447d72dd844c931f87ea15b0c
tree37cafb30ac52f7afe92a0475731c54e95d07e136
parentf887392c71fdfc570155b47dc61f0806937cf5b4
[media] soc_camera_platform: Remove redundant platform_set_drvdata()

Commit bcb6fcf111 (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