Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2809031ybt; Fri, 3 Jul 2020 20:47:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxinhqd4G9UkVYmynchB7TlGYlR7x+lwMvw1cJx0f47c5Uj9kpwLWU3/lnhi389PbxLKhn7 X-Received: by 2002:a17:906:6606:: with SMTP id b6mr36660704ejp.102.1593834465054; Fri, 03 Jul 2020 20:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593834465; cv=none; d=google.com; s=arc-20160816; b=CH8iESdx6hRbgWvfjO7GUwmkWhyHpmi4eH2zs8M7yNwKqAETWJi7/QiL0RBw18x4JI MeYi5BAqpVBOUC3EAmFxgLkp5sVW9eYIxFZ5UeKPlljuW84vT9AhmAowg3Accv+hgLuL 4KY8D/MP9AMHnqRPcoctPYqHaB4erMq46Y4WYNOzboKGy+0XBYBamBp/CDyfR85P8y5A ql9HNW/27t/wI6HtMp2umKES7Sb4Oss3hP9uCLJUr4W36/AbPHT/XnZKWV2pTAwJ1pY5 8hxN5rusX/t4oREzY0hvvcQotfVppxhQsunJogXhREdAeJO3ItNYEcTBm03/jeZ3ss0e CjnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U9mKbOAg3310yWA876tLatVC/VjWDPAN5b9UMcsJebQ=; b=zOx1+BtIkqD8pYzteGU0BmFPgDwkskzsrHMSm6gorPPA2ZBGBGbsNiQbmHjAiJKNTG NS/QoPNMXKP+13URHGZVMMrhpGAreT424NpyBGiaZMTEG/IPly5bb84Vj4Qugd12uoat R3x5hel8HuY0P3RztHpr0n9UUFKdchI803j9IyLx9ukNl9Il4Kkq7mWfldfw5agf6IFi w3C64kOAcAvEu0YZJdRf9IdUQfagY4j1oAL9bDc2HqU9skz/WmCH6wkfKsjmnyfd3iAb uwLggeIS3n8q4tvpkdkwkrCzwzvlklFACVPzqHmS01AGjuODzMKosVuvOs7JfG7imY2v jm2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=DXYvobCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si8452691eje.126.2020.07.03.20.47.22; Fri, 03 Jul 2020 20:47:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=DXYvobCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728125AbgGDDqi (ORCPT + 99 others); Fri, 3 Jul 2020 23:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728051AbgGDDqh (ORCPT ); Fri, 3 Jul 2020 23:46:37 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E970BC061794; Fri, 3 Jul 2020 20:46:36 -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 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 , Dave Jiang , Allen Hubbe , linux-ntb@googlegroups.com, Dan Williams , Vishal Verma , Ira Weiny , linux-nvdimm@lists.01.org, linux-usb@vger.kernel.org, Eli Billauer 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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