From patchwork Sat Jul 4 03:45:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11643303 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 205E8618 for ; Sat, 4 Jul 2020 03:46:45 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F220C2100A for ; Sat, 4 Jul 2020 03:46:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DXYvobCA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F220C2100A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id EB3B211508C20; Fri, 3 Jul 2020 20:46:44 -0700 (PDT) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=rdunlap@infradead.org; receiver= Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E406B11508C1E for ; Fri, 3 Jul 2020 20:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=U9mKbOAg3310yWA876tLatVC/VjWDPAN5b9UMcsJebQ=; b=DXYvobCAAGspRYUmR/pIBkFojR Y0QJR6HZvC5rVKxM6EVEb6wfhxDfsFxIko7jLalsq/WBiN5Rpr31FtfZw7MB+7Ye50Kcf0SlCemdz nYvGYbf5FCe3XhS1CUh33YFrJbbHAkiWrIEhPOFurKyik2aU4gOyjwfSIvys2ldJlGWoWzmDsuZog rqjaWWO8PNIMSeGpLj+SwMIuoZHBwHzN8CeyAGktrUmE/UHJHBX2csPyNLThIibIRUkY5tqwCHF7u R19W6vfagl4wgd+u9M5sQeN7CREEJIse2zJ9ZOQRPwDmdNNJu2EL41en8YOubjZwAyBUrJV8QoVzO UVgo5mNw==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrZ8M-0001Xb-5x; Sat, 04 Jul 2020 03:46:34 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH 16/17] Documentation/driver-api: media/v4l2-controls: drop doubled words Date: Fri, 3 Jul 2020 20:45:01 -0700 Message-Id: <20200704034502.17199-17-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200704034502.17199-1-rdunlap@infradead.org> References: <20200704034502.17199-1-rdunlap@infradead.org> MIME-Version: 1.0 Message-ID-Hash: VKLDU7TOEEJARCFUQ7V2TAAIONS2MSFR X-Message-ID-Hash: VKLDU7TOEEJARCFUQ7V2TAAIONS2MSFR X-MailFrom: rdunlap@infradead.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org, Vinod Koul , dmaengine@vger.kernel.org, Luis Chamberlain , Greg Kroah-Hartman , William Breathitt Gray , linux-iio@vger.kernel.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, Jon Mason , Allen Hubbe , linux-ntb@googlegroups.com, linux-nvdimm@lists.01.org, linux-usb@vger.kernel.org, Eli Billauer X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Drop the doubled words "type" and "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org --- Documentation/driver-api/media/v4l2-controls.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200701.orig/Documentation/driver-api/media/v4l2-controls.rst +++ linux-next-20200701/Documentation/driver-api/media/v4l2-controls.rst @@ -335,7 +335,7 @@ current and new values: union v4l2_ctrl_ptr p_new; union v4l2_ctrl_ptr p_cur; -If the control has a simple s32 type type, then: +If the control has a simple s32 type, then: .. code-block:: c @@ -349,7 +349,7 @@ Within the control ops you can freely us themselves. The p_char pointers point to character buffers of length ctrl->maximum + 1, and are always 0-terminated. -Unless the control is marked volatile the p_cur field points to the the +Unless the control is marked volatile the p_cur field points to the current cached control value. When you create a new control this value is made identical to the default value. After calling v4l2_ctrl_handler_setup() this value is passed to the hardware. It is generally a good idea to call this