Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6669461rwb; Tue, 22 Nov 2022 17:15:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf494NcpMfXgWK6ZsEGD2/7p/WwGwtiVVkIfB7BJKFoC/+oBpFJ26ux4ErGddQJpmUjkhv55 X-Received: by 2002:a63:eb16:0:b0:477:6fe1:cd6d with SMTP id t22-20020a63eb16000000b004776fe1cd6dmr11119755pgh.334.1669166136551; Tue, 22 Nov 2022 17:15:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669166136; cv=none; d=google.com; s=arc-20160816; b=mUCl5WrFryumuzEKje1CsoIs6daq2uoVSrvF2BUPqTwLBOBQwJsyn9aNpWZqMUgPNu bZjb0S3NF7QeFydCLrmN02jwr2FOU/ewVx3xRDIBewrEs5sdwEGURq+8r9JpJc708s2S hEUYLF5dQx/bpIzqgzy9do7U0bkQZ3CZop84xdM+VBsQFp5l7IiIN9ZBtpRjRV+8U560 5YVnkREYnPUgriFVkR3UJrkTynDP8PAulSRQdg0V1YvKyb0+SLN/V8D63Krh5m1h1sQ4 h0F0ZRffiISudA9XrySsaG0b4tmjQXrZ3NlSydweVPpEWtaJ/W5IJ6xeJCZ/3HUHC7bv sTOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=ijrMTcyWsqW6LZM3KVpES0ixK86mmIZqatbEA6I3C6E=; b=0ZQqdTxaW7bBjycL6+Zi6IkMgRq4pAImVrx73rsJ2djFsqhgiyK5XsFinqjgU4o4X+ o9m9DV6359uCB6WwL4x6OE1FfV/2Uetg77EBvBLqKSWgCNf2BumrtJSbyeBARxhkveG8 EtRVm9Jc4P5va4w/cJ7WWRTmriQq0UOn0LwaB7Bs60/15DeqUmrniQAQZBe62E0YlJj0 VBVv+HxceXveYA2BSGhlVCk4uVV6GUr5ipR65WAohcz+3X99z5e3VqFTjX3eQAzDcssX J9yVGidEt5ZuIVTv07TxSd+NdsgcK70BQgIJ/I2EdzQBkXxhzoEPG22Clo1SK1a/k4GX OT1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/s5LCHv"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a170902ebc800b0017d6ffda9e3si15289348plg.369.2022.11.22.17.15.10; Tue, 22 Nov 2022 17:15:36 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/s5LCHv"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234752AbiKWBCl (ORCPT + 89 others); Tue, 22 Nov 2022 20:02:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232341AbiKWBCg (ORCPT ); Tue, 22 Nov 2022 20:02:36 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C660BF47; Tue, 22 Nov 2022 17:02:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4A6C1B81DDD; Wed, 23 Nov 2022 01:02:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F07CEC433D6; Wed, 23 Nov 2022 01:02:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669165352; bh=ijrMTcyWsqW6LZM3KVpES0ixK86mmIZqatbEA6I3C6E=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=s/s5LCHvcVkPGC8p3nryjKjLv7qUSKYfx9BfVc9V8vdfeSpZ+QEBHNHVlO5GVBkXy o0KGgPDaIiLSDqTpKvCRol3Ov2HHMntplS+6vlGyeM7eNrim7JcyTL4o+L9VJrHrA8 4Y9gtwp8FbGzwoYdxvZvMiC218BjH4OUzvE5+69oNQ0KEswdOrfFOAMiVbEfgtarcp I82F5C2fA4gbhEJmCmOBXF5IxZdNvXQNJm69eNQTzkZcc9f3XfKAPp53TNoWIEU84C xnLLgbuhgf5IUHoLLu5IyHdMLdC7RZA3DVD3vk6aNhEH0J2VDpkfU9EQApoAnXKPdn fX7b+VdlTQlKw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221113181147.1626585-1-dario.binacchi@amarulasolutions.com> References: <20221113181147.1626585-1-dario.binacchi@amarulasolutions.com> Subject: Re: [PATCH v4 1/2] clk: ti: change ti_clk_register[_omap_hw]() API From: Stephen Boyd Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Allison Randal , Greg Kroah-Hartman , Jakob Koschel , Julia Lawall , Len Baker , Liang He , Miaoqian Lin , Michael Turquette , Rob Herring , Tero Kristo , Thomas Gleixner , Tony Lindgren , linux-clk@vger.kernel.org, linux-omap@vger.kernel.org To: Dario Binacchi , linux-kernel@vger.kernel.org Date: Tue, 22 Nov 2022 17:02:29 -0800 User-Agent: alot/0.10 Message-Id: <20221123010231.F07CEC433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Quoting Dario Binacchi (2022-11-13 10:11:46) > The ti_clk_register() and ti_clk_register_omap_hw() functions are always > called with the parameter of type "struct device" set to NULL, since the > functions from which they are called always have a parameter of type > "struct device_node". Replacing "struct device" type parameter with > "struct device_node" will allow you to register a TI clock to the common > clock framework by taking advantage of the facilities provided by the > "struct device_node" type. Further, adding the "of_" prefix to the name > of these functions explicitly binds them to the "struct device_node" > type. >=20 > The patch has been tested on a Beaglebone board. >=20 > Signed-off-by: Dario Binacchi >=20 > --- Applied to clk-next