commit | ec0c8d555a93aa7e2c5c4f11f12686e5b2245696 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Mar 23 04:14:43 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 07:26:14 2011 -0300 |
tree | cc0d129c4efd8adaac5c29fb93c156e1dd697e90 | |
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>