diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-02-21 11:55:49 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-02-24 09:36:46 +0000 |
commit | 80d70e4fcf6c8aa92c3097414b90325e855bab6e (patch) | |
tree | d1544565a14f9d45aaa23fbb961b638648f47877 /src/qcam/assets/feathericons/toggle-left.svg | |
parent | 7860977710f4365557f35aa19f2dc5f150030de3 (diff) |
libcamera: ipa_manager: Simplify addDir() usage
The addDir call only returns an error if it can't open the directory.
Callers only care about the number of modules added, and discard any
error information.
Simplify the return value and calling code by returning an unsigned int
of the number of modules loaded.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/toggle-left.svg')
0 files changed, 0 insertions, 0 deletions