Deregister from the camera resource management component
#include <camera/camera_api.h>
camera_error_t camera_deregister_resource(camera_handle_t handle)
For more information about resource management procedures, see "Resource management" in the Camera Library Developer's Guide.
Use this function to indicate to the operating system that your application is no longer processing camera buffers. For more information, see camera_register_resource().
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.