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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB1FAC31E40 for ; Sat, 3 Aug 2019 08:13:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE51E21783 for ; Sat, 3 Aug 2019 08:13:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564820032; bh=xRf3PhzKfClVfWXbj3OVmFX6p7PLIiziHpTBekdtiCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=LJDT8z03h/mRYmU0SYOy8GXvTRKgn+ZS2UJ+PVY/i6DFrnxtkHv/zv+ZOCsiaUhOm BnqblVnQlA8ofc1rVZMB5Oeg6H0buD0X1cjmiWJ7s9QjU4REkP2ByMUfac1CzCoOHS 7OkS4vnFSxEEmJZBgtmANMWZUyQlPqlSbPnbAfLY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387604AbfHCINw (ORCPT ); Sat, 3 Aug 2019 04:13:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:58060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387532AbfHCINw (ORCPT ); Sat, 3 Aug 2019 04:13:52 -0400 Received: from X250.getinternet.no (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9CBC321726; Sat, 3 Aug 2019 08:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564820031; bh=xRf3PhzKfClVfWXbj3OVmFX6p7PLIiziHpTBekdtiCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ss9AepiccoCuwp3jI5V+AvCYwJ22kCiRaDT5KOS6xQIatNXunmHVenhgXnMD80Qc7 TqOSBRs+EXOFgBBij2U6aNxOn0caKeWWE6vXq6w/NSBgOCx27W/Ng3JVTPvTg/Eryz 5i7jnRf79SbA0CzZKOO5R8mlymy/qdjEkCD2L+vU= Date: Sat, 3 Aug 2019 10:13:44 +0200 From: Shawn Guo To: Abel Vesa Cc: Mike Turquette , Stephen Boyd , Sascha Hauer , Fabio Estevam , Anson Huang , Jacky Bai , NXP Linux Team , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v2] clk: imx8mm: Switch to platform driver Message-ID: <20190803081344.GD8870@X250.getinternet.no> References: <1562682003-20951-1-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1562682003-20951-1-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Tue, Jul 09, 2019 at 05:20:03PM +0300, Abel Vesa wrote: > There is no strong reason for this to use CLK_OF_DECLARE instead > of being a platform driver. Plus, this will now be aligned with the > other i.MX8M clock drivers which are platform drivers. > > In order to make the clock provider a platform driver > all the data and code needs to be outside of .init section. > > Signed-off-by: Abel Vesa Applied, thanks.