[libcamera-devel,v2,0/2] libcamera: Remove CameraManager::get(dev_t)
mbox series

Message ID 20230704225746.3838484-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • libcamera: Remove CameraManager::get(dev_t)
Related show

Message

Kieran Bingham July 4, 2023, 10:57 p.m. UTC
Now that Cameras expose a SystemDevices property which reports any
associated dev_t identifiers, remove the now redundant implementation of
CameraManager::get(dev_t) which was provided purely for the V4L2
Adaptation layer.

The V4L2 adaptation layer reimplements the same functionality relying on
the SystemDevices data instead.

This series removes a public API function and is a clear and intentional
break of API/ABI, as these functions should not be used by applications.

Kieran Bingham (2):
  v4l2: Use SystemDevices properties to identify cameras
  libcamera: CameraManager: Remove ::get(dev_t)

 include/libcamera/camera_manager.h          |  1 -
 include/libcamera/internal/camera_manager.h |  3 +-
 src/libcamera/camera_manager.cpp            | 42 ---------------------
 src/v4l2/v4l2_compat_manager.cpp            | 29 +++++++++++---
 4 files changed, 25 insertions(+), 50 deletions(-)