From mboxrd@z Thu Jan 1 00:00:00 1970 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 3ED33C4321E for ; Thu, 17 Nov 2022 15:59:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240102AbiKQP7K (ORCPT ); Thu, 17 Nov 2022 10:59:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239986AbiKQP7B (ORCPT ); Thu, 17 Nov 2022 10:59:01 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 482E970A02; Thu, 17 Nov 2022 07:58:59 -0800 (PST) Received: from frapeml500006.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NCkxL2vgnz67FVn; Thu, 17 Nov 2022 23:54:14 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by frapeml500006.china.huawei.com (7.182.85.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 17 Nov 2022 16:58:57 +0100 Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 17 Nov 2022 15:58:56 +0000 Date: Thu, 17 Nov 2022 15:58:55 +0000 From: Jonathan Cameron To: Krzysztof Kozlowski CC: Rob Herring , Krzysztof Kozlowski , Andrew Lunn , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH 5/9] dt-bindings: drop redundant part of title (end, part two) Message-ID: <20221117155855.000066f7@Huawei.com> In-Reply-To: <20221117123850.368213-6-krzysztof.kozlowski@linaro.org> References: <20221117123850.368213-1-krzysztof.kozlowski@linaro.org> <20221117123850.368213-6-krzysztof.kozlowski@linaro.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100001.china.huawei.com (7.191.160.183) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-can@vger.kernel.org On Thu, 17 Nov 2022 13:38:46 +0100 Krzysztof Kozlowski wrote: > The Devicetree bindings document does not have to say in the title that > it is a "binding", but instead just describe the hardware. > > Drop trailing "Node|Tree|Generic bindings" in various forms (also with > trailling full stop): > > find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ > -not -name 'trivial-devices.yaml' \ > -exec sed -i -e 's/^title: \(.*\) [nN]ode [bB]indings\?\.\?$/title: \1/' {} \; > > find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ > -not -name 'trivial-devices.yaml' \ > -exec sed -i -e 's/^title: \(.*\) [tT]ree [bB]indings\?\.\?$/title: \1/' {} \; > > find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ > -not -name 'trivial-devices.yaml' \ > -exec sed -i -e 's/^title: \(.*\) [gG]eneric [bB]indings\?\.\?$/title: \1/' {} \; > > find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ > -not -name 'trivial-devices.yaml' \ > -exec sed -i -e 's/^title: \(.*\) [bB]indings\? description\.\?$/title: \1/' {} \; > > find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ > -not -name 'trivial-devices.yaml' \ > -exec sed -i -e 's/^title: \(.*\) [bB]indings\? document\.\?$/title: \1/' {} \; > > Signed-off-by: Krzysztof Kozlowski FWIW eyeballed these as well and all look good to me. Reviewed-by: Jonathan Cameron