From patchwork Thu Apr 20 10:09:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 676458 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A600EC77B72 for ; Thu, 20 Apr 2023 10:13:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231827AbjDTKN2 (ORCPT ); Thu, 20 Apr 2023 06:13:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234055AbjDTKND (ORCPT ); Thu, 20 Apr 2023 06:13:03 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CB27526A for ; Thu, 20 Apr 2023 03:09:48 -0700 (PDT) Received: from pendragon.ideasonboard.com (133-32-181-51.west.xps.vectant.ne.jp [133.32.181.51]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 047725AA; Thu, 20 Apr 2023 12:09:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1681985379; bh=l52KQS45n+t+wLZkcdR3TajZHaokeesEzbINBmFZvHA=; h=From:To:Cc:Subject:Date:From; b=UNYvrN3P5al2Fyw30NxbPecc1YotFH0G6YSuLj3pDMLkAgxU1TQngaIz9DlvnpAH4 lo7SdP1PL42q1H0fTQbBvXmFIyQVTT7MVYvSr6wJWF+mgna71Qpc/cRrZivki/Welu ZbmBjy1LTmWgkApIhpPrRG0mQFbX20Ar08EFiVDU= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Ricardo Ribalda , Kieran Bingham Subject: [PATCH v1 0/4] media: uvcvideo: Misc cleanups Date: Thu, 20 Apr 2023 13:09:54 +0300 Message-Id: <20230420100958.10631-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, This small patch series contains miscellaneous drive-by cleanups for the uvcvideo driver. There isn't much to tell here, please see individual patches for details. Laurent Pinchart (4): media: uvcvideo: Rename uvc_streaming 'format' field to 'formats' media: uvcvideo: Rename uvc_format 'frame' field to 'frames' media: uvcvideo: Constify formats, frames and intervals media: uvcvideo: Constify descriptor buffers drivers/media/usb/uvc/uvc_driver.c | 46 ++++++++--------- drivers/media/usb/uvc/uvc_v4l2.c | 79 +++++++++++++++--------------- drivers/media/usb/uvc/uvc_video.c | 20 ++++---- drivers/media/usb/uvc/uvcvideo.h | 12 ++--- 4 files changed, 79 insertions(+), 78 deletions(-)