media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
authorRicardo Ribalda <ribalda@chromium.org>
Thu, 5 Jan 2023 13:52:55 +0000 (14:52 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 15 Jan 2023 21:45:14 +0000 (23:45 +0200)
commit96a160b068e09b4ed5a32e2179e5219fc3545eca
tree54ff57fe2da89be3f5fafc7ccec1b334ed560fdc
parent40140eda661ea4be219ef194a4f43b7b5e3bbd27
media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX

Convert the array of structs into an array of pointers, that way the
mappings can be reused.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/media/usb/uvc/uvc_ctrl.c