From patchwork Sat Oct 27 05:47:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 10658055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A41CE14E2 for ; Sat, 27 Oct 2018 06:23:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 904B22AE7D for ; Sat, 27 Oct 2018 06:23:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 846812B1EB; Sat, 27 Oct 2018 06:23:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 32F3D2AE7D for ; Sat, 27 Oct 2018 06:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=m0aG6Qtddvd4MbVlUQSCX4nlYv89vfd32J3S5zd9BSQ=; b=JeD VBd8p1VyY6FiquQoz5udte5BP4obPln60+hgayJ3kceIjwW1Qa0YXYyLvDVcLHPoKgY1UYI5esz9A e7szhPjpfD0I7EVYu8AZ1iYJkPMGaZ2LBu0NRSjwllbmTsqzBoQYO/urFGavtfrR3uqxaaVqGFoK8 plY2N47r8soIgUYInac4tuyEnTxbGt6Xjmxhj8V8Gn5x8MznAHm0eP22A5b9qYM164asy80ix4VKG O00tFP5ULNoIlSShl+w4CPLvEm7DdKjI42bHtHlCZYOHzR6s4RE8+e2EXdzczw0z39lJlO2cG8THJ Xc6Jd4fiIYyiYe/tlEAxUWIN+Ul6gnA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gGI0N-0002HY-1R; Sat, 27 Oct 2018 06:23:27 +0000 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gGI0I-0002Dq-IM for linux-arm-kernel@lists.infradead.org; Sat, 27 Oct 2018 06:23:24 +0000 X-IronPort-AV: E=Sophos;i="5.54,430,1534802400"; d="scan'208";a="283492149" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA256; 27 Oct 2018 08:22:57 +0200 From: Julia Lawall To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/8] constify clk_ops structure Date: Sat, 27 Oct 2018 07:47:34 +0200 Message-Id: <1540619262-22681-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181026_232322_907029_2937D888 X-CRM114-Status: UNSURE ( 6.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, freedreno@lists.freedesktop.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Declare as const clk_ops structures that are only stored in const fields or passed to functions with const parameters. Identified and transformed using Coccinelle. Signed-off-by: Julia Lawall --- arch/arm/mach-vexpress/spc.c | 2 +- drivers/clk/clk-max77686.c | 2 +- drivers/clk/clk-palmas.c | 2 +- drivers/clk/clk-s2mps11.c | 2 +- drivers/clk/pistachio/clk-pll.c | 8 ++++---- drivers/clk/pxa/clk-pxa.c | 4 ++-- drivers/gpu/drm/imx/imx-tve.c | 2 +- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-)