Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2758460imd; Sun, 28 Oct 2018 17:45:55 -0700 (PDT) X-Google-Smtp-Source: AJdET5eLqGb/XRS3yXjfgKWvtZJUZeyCcQZO9OTJ0KX5kSR1DFZ7ye18q7Zd7GmK0C6o6iFGTlFK X-Received: by 2002:a17:902:d882:: with SMTP id b2-v6mr2598130plz.207.1540773955042; Sun, 28 Oct 2018 17:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540773955; cv=none; d=google.com; s=arc-20160816; b=cPv85mraYxepQP0mwbO8WLINmJ7gdtB3G1RVg6coepmBcVYsVvHs6VhSM56YQyCBNV pLWl4NEjxGbNtmRtnKY6yCE/N9AJHUhDt3rMe8Ekk5o/20aoyQDooMnyxw8oyNePtQfR lXjxClTa8p15kR2UuWCUyY+tXaM0s7v5bYDXIZjskqc7ZLQj6gcQ9ytlbAnFwXH0yBNV IjdgwGgsJWVIDfYFO47H89bV3IKNBxQKBkkocB5mZl5+iN/z0Cau7C4VfAO+z/529Zoc X9szjr12SwJ4mNlGZMSIqnB+iTEZleUd/6hIIZsyUKfNJnv9jCTDygUbghU6dsa9+ali x8EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :in-reply-to:subject:cc:to:user-agent:organization:from:date :message-id:content-transfer-encoding:mime-version:dkim-signature :dkim-filter; bh=xa/NeqQDx+fO+blCfxTV+Eo3ar9024/Ej0UIY3/D8ps=; b=uk/FKzrVLj+R32SJfkUxf1vmxkGdke56ndIJDsCbyVi8q0liH8JgOo5lYpqRHPKjLC mvigCBY/HiTkQQPAYSyRoaQM5WLErTDtClABTBIDmRTtdeCqjnWzdGHL+dOqBHlnG1+J cZt1bVpru3lVCnT6b4nP9eqvqAt5iHnHE59lp+mg5GZNzVN51tqYngCzEDLV/MQflRBS e7bW/Wjq1V8vJNknN3dypoM4IZ2OXvgSpB+lZ4lZDuStWjfmhsm2zTLt3B0LRTsW4Cjp 2jDiQxfic75UM2PbVQAtKYzzb8FnZPDW02FNR2gSsZXeXRA04cZysMtJI5ysJn4/aAcH NvVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rUny8L6H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9-v6si19382623pgm.109.2018.10.28.17.45.25; Sun, 28 Oct 2018 17:45:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rUny8L6H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbeJ2J3r (ORCPT + 99 others); Mon, 29 Oct 2018 05:29:47 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:55383 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbeJ2J3q (ORCPT ); Mon, 29 Oct 2018 05:29:46 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20181029004326epoutp03b908baa2950bd0e2c7621fab37fffde8~h7Z0IV4QP1834418344epoutp03r; Mon, 29 Oct 2018 00:43:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20181029004326epoutp03b908baa2950bd0e2c7621fab37fffde8~h7Z0IV4QP1834418344epoutp03r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1540773806; bh=xa/NeqQDx+fO+blCfxTV+Eo3ar9024/Ej0UIY3/D8ps=; h=Date:From:To:Cc:Subject:In-reply-to:References:From; b=rUny8L6H/Dw2/ZBwseHBnOn4qCpPWArkAmmHQziXrfnCswmpKSvc4QMEdUTA+U8x0 jIpa0dBWlvxc5AildbHNcYUzg9+vMw6miPRV9qsy4qWPB4FkcGgrROHlTTlXaDcGRN ldqVbMJYo2Z4qxFZ6oCe+gnJwKI8ikd8ZaBUAj1Q= Received: from epsmges1p1.samsung.com (unknown [182.195.40.152]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20181029004323epcas1p222743bfc0c2e37a436a6e6b9f8bfbd2c~h7ZxO0Zqg1687816878epcas1p2i; Mon, 29 Oct 2018 00:43:23 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 5F.CB.04072.BA756DB5; Mon, 29 Oct 2018 09:43:23 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20181029004322epcas1p4ddca49d3d523f9daee296a63edcf7371~h7ZxCaTCH2098320983epcas1p4V; Mon, 29 Oct 2018 00:43:22 +0000 (GMT) X-AuditID: b6c32a35-3f1ff70000000fe8-8f-5bd657ab3a4b Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D7.CF.03701.AA756DB5; Mon, 29 Oct 2018 09:43:22 +0900 (KST) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset="UTF-8" Received: from [10.113.63.77] by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PHC005WH4OAEO70@mmp1.samsung.com>; Mon, 29 Oct 2018 09:43:22 +0900 (KST) Message-id: <5BD657AA.1080108@samsung.com> Date: Mon, 29 Oct 2018 09:43:22 +0900 From: Chanwoo Choi Organization: Samsung Electronics User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Julia Lawall , Sangbeom Kim Cc: kernel-janitors@vger.kernel.org, Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 6/8] clk: s2mps11: constify clk_ops structure In-reply-to: <1540619262-22681-7-git-send-email-Julia.Lawall@lip6.fr> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHKsWRmVeSWpSXmKPExsWy7bCmge7q8GvRBs872Sw2zljParHswWlG i623pC3On9/AbvGx5x6rxeVdc9gsZpzfx2Rx8ZSrxcUVX5gs/l3byOLA5fH+Riu7x6ZVnWwe e7dkefRtWcXo8XmTXABrVLZNRmpiSmqRQmpecn5KZl66rZJ3cLxzvKmZgaGuoaWFuZJCXmJu qq2Si0+ArltmDtBJSgpliTmlQKGAxOJiJX07m6L80pJUhYz84hJbpdSClJwCywK94sTc4tK8 dL3k/FwrQwMDI1OgwoTsjAU7P7MWHOComL39JlMD4we2LkZODgkBE4m9j88zdzFycQgJ7GCU mPX8HyOE851RYtLHxawwVdvuPQazhQR2M0qc77QDsXkFBCV+TL7H0sXIwcEsIC9x5FI2SJhZ QFNi6+717BDldxkl7lz2BynhFdCS6JzrARJmEVCVOH70MxOIzQYU3v/iBtg9/AKKEld/PGYE sUUFIiR2zv8GNkZEwFtixcYrbBDjNzFJLG1IA7GFBRwlttyYB3YZp4CrRPO9o1AXP2aT+N0l D2G7SPzZdJ8FwhaWeHV8CzvIORIC0hKXjtqCfCsh0M4o8eVFMyuEM4FR4sOpzUwQDcYSzxZ2 MUEs5pN497W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8riLnY5c8CkmX/S00aetNg6nJ iq1b776/LfavZbdOs7pizFaNpgcP/tQ9NnRaxceYwJ7Ao/z8sev59R/Orud9cetYooeHbJKU 7z0TpXfK3yxNNYqsTh490ZwiKCTwhbFb7Z3+VebCL3vO8y5sm6N+qXlRTmHn6qVKLMUZiYZa zEXFiQBodC1UfAIAAA== X-CMS-MailID: 20181029004322epcas1p4ddca49d3d523f9daee296a63edcf7371 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20181027062328epcas3p1aed374207b7d5da30147ceea33585b67 References: <1540619262-22681-1-git-send-email-Julia.Lawall@lip6.fr> <1540619262-22681-7-git-send-email-Julia.Lawall@lip6.fr> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018년 10월 27일 14:47, Julia Lawall wrote: > The clk_ops structure is only stored in the ops fields of > clk_init_data structures. This field is const, so the clk_ops > structure can be const as well. > > Identified and transformed using Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/clk/clk-s2mps11.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c > index 5b419b82f7ca..2ce370c804aa 100644 > --- a/drivers/clk/clk-s2mps11.c > +++ b/drivers/clk/clk-s2mps11.c > @@ -71,7 +71,7 @@ static unsigned long s2mps11_clk_recalc_rate(struct clk_hw *hw, > return 32768; > } > > -static struct clk_ops s2mps11_clk_ops = { > +static const struct clk_ops s2mps11_clk_ops = { > .prepare = s2mps11_clk_prepare, > .unprepare = s2mps11_clk_unprepare, > .is_prepared = s2mps11_clk_is_prepared, > > > Looks good to me. Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics