diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-02-24 12:58:40 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-27 08:02:13 +0100 |
| commit | 6adceb706e51bb5ff3c2a9700a0ee275ee0c76b2 (patch) | |
| tree | f4e85d770906d12a6e0e6e982534fd2a53fa54e1 /scripts/Makefile.randstruct | |
| parent | 8ba4862eb59bb2717d8390649cf973a512d892aa (diff) | |
| download | linux-6adceb706e51bb5ff3c2a9700a0ee275ee0c76b2.tar.gz linux-6adceb706e51bb5ff3c2a9700a0ee275ee0c76b2.zip | |
media: rkisp1: stats: Simplify (un)registration
Simplify error handling at registration time as media_entity_cleanup()
can be called on an uninitialized entity, and make
rkisp1_stats_unregister() safe to be called on an unregistered stats
node to prepare for simplification of error handling at probe time.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/Makefile.randstruct')
0 files changed, 0 insertions, 0 deletions
