Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp626741rwe; Wed, 24 Aug 2022 06:42:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR54JaaFTmrYOjcA3M5NIBg+bpUoaRpGofxiOUXsIXhbjwnDlxOHD5oZeuUZZRQmqNlYqEC/ X-Received: by 2002:a17:907:761a:b0:73d:8662:3a00 with SMTP id jx26-20020a170907761a00b0073d86623a00mr2966582ejc.550.1661348554036; Wed, 24 Aug 2022 06:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661348554; cv=none; d=google.com; s=arc-20160816; b=OBUUQiNWW4hUZDxxR0zO6n/KHG+8qM2oPRWysoiSiJoxfdq+wzXk5BoYfU8uvA1w+7 HuCHk2h2RpMpJ/reBaIdKmIGhUEiKVmIF0KIq81xJp/j5ZWpSf4YPtKhY4t54xSVQSLj BhvjgQ+lDr91jRMPxml9j7iJGVbf8wERaIupY6+TDk2vRjbVzdtsIsQXh/KNo8LJGlJD wIEL1kEl0dHeXkJihlSYavCabKgDwbT7jgXGbrsfAJr/p3KEK7ukhyf/JLZ07WuvKRn+ pFNLBH6wJK3WyMYIn9nJR0nCMNRtKGePtkTbo3FsijXZoTKgJ+wDTlLnbBt/ezry7jAW wxSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=BpyfvsYULLqllDu9uI9Dw6O3X91aFX+4LcpbDF89OnA=; b=xEAhXh9A8N6DvnsCKFjTyne4c6rRv4DnYziGT0ax9U/BiySjAQfXe5hfAlkxKd5xfy lx2cVk7V7Ex9yg9qAJ6LrkEnM64vw/J+Gwd0A94cGx9BBzgxvqqtjjfB91vduEbH3OEG kE6Wi6XVSFARyuVZ8wN7s9MGORFJqVbvjKvBLTbtif+leOLNqkEUYtbZ5rHBNeKrwlCa FqraAuJHfUrTqvQbuSeqnDicu1jwR3gk+1H+8c/RdXHIx1NXbxLYXD5nogxLYGnBi3rj J3Ab4KBincmy03LIYR3cKsnTkC7xx6GPry5GUzgqxmvUh9tgOfjZXGETS5E9Zi+U64M1 l12Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr16-20020a170907721000b0073d6859e5c7si2318078ejc.373.2022.08.24.06.42.07; Wed, 24 Aug 2022 06:42:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238157AbiHXNZs (ORCPT + 99 others); Wed, 24 Aug 2022 09:25:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238275AbiHXNZf (ORCPT ); Wed, 24 Aug 2022 09:25:35 -0400 Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr [80.12.242.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3102953022 for ; Wed, 24 Aug 2022 06:25:33 -0700 (PDT) Received: from [192.168.1.18] ([90.11.190.129]) by smtp.orange.fr with ESMTPA id QqNuo0vdXtUbyQqNuoT03y; Wed, 24 Aug 2022 15:25:32 +0200 X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 24 Aug 2022 15:25:32 +0200 X-ME-IP: 90.11.190.129 Message-ID: Date: Wed, 24 Aug 2022 15:25:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] rtc: mpfs: Use devm_clk_get_enabled() helper Content-Language: en-US To: Alexandre Belloni Cc: Conor.Dooley@microchip.com, Daire.McNamara@microchip.com, a.zummo@towertech.it, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rtc@vger.kernel.org References: From: Christophe JAILLET In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 24/08/2022 à 14:28, Alexandre Belloni a écrit : > > BTW, I thought you actually tested your changes on the other patch I > took, not that you were doing a blanket conversion of the subsystem. > This is the kind of info that must appear in the commit log. I would > definitively not have taken the patch. > Ok, noted for future contribution. In fact I first sent only one patch to see if it got some interest for such transformation. I only sent some other after your Ack. Nothing is never trivial, but such patches looks fine to me. It saves some LoC, reduce the size of the .o and slightly saves some runtime memory. And unless, I missed something, the order of operation remains the same, both when resources are allocated and freed. Why wouldn't you have taken such a patch? (just for my understanding and in order to avoid spamming others with useless/risky stuff) CJ