diff options
| author | Sachin Kamat <[email protected]> | 2012-09-05 08:25:26 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-10-06 09:12:36 -0300 |
| commit | 02249369352879343337ee63b45dee1e1cfc2550 (patch) | |
| tree | c0a604fe6324f740dd3716b81838ed08175a4eff /tools/perf/scripts/python | |
| parent | ec0341b3b7817a5e8ebcf26091dde28dce2d7821 (diff) | |
[media] soc_camera: Use devm_kzalloc function
devm_kzalloc() has been used to simplify error handling.
While at it, the soc_camera_device_register function has been moved to
save a few lines of code and a variable.
Signed-off-by: Sachin Kamat <[email protected]>
[[email protected]: remove a superfluous empty line]
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions