diff options
| author | Laurent Pinchart <[email protected]> | 2022-02-24 14:57:47 +0200 |
|---|---|---|
| committer | Sakari Ailus <[email protected]> | 2022-03-04 00:27:09 +0200 |
| commit | 443bf23d0048e014065d1a7fac8144fb0a40805b (patch) | |
| tree | 2abbf6f1fda54cdf1bee0523d9e20e2a4d32c65d /tools/perf/scripts/python | |
| parent | ff43dd75157e74fb37da96656b14264aac4252bd (diff) | |
media: media-entity: Clarify media_entity_cleanup() usage
Being able to call cleanup functions on objects that haven't been
initialized but whose memory has been zeroed simplifies error handling.
The media_entity_cleanup() function documentation doesn't tell whether
this is allowed or not, and inspection of its implementation doesn't
provide any clue as the function is currently empty. Update the
documentation to explicitly allow this usage pattern.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions