diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-23 04:14:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 07:26:14 -0300 |
commit | ec0c8d555a93aa7e2c5c4f11f12686e5b2245696 (patch) | |
tree | cc0d129c4efd8adaac5c29fb93c156e1dd697e90 /drivers/media/video/s2255drv.c | |
parent | e0df5417acf65cff05343b1fb83fb40344e155ea (diff) |
[media] V4L: soc_camera_platform: add helper functions to manage device instances
Add helper inline functions to correctly manage dynamic allocation and
freeing of platform devices. This avoids the ugly code to nullify
device objects.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s2255drv.c')
0 files changed, 0 insertions, 0 deletions