Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp993285imd; Fri, 26 Oct 2018 23:23:43 -0700 (PDT) X-Google-Smtp-Source: AJdET5eAU3FkZ1Q49xjxg4IrfXkBab83WwYT30ki+8y8Fobo+TaqF2Mjls/V9zE/wD7DkcBGzJOL X-Received: by 2002:a17:902:3283:: with SMTP id z3-v6mr6335133plb.308.1540621423824; Fri, 26 Oct 2018 23:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540621423; cv=none; d=google.com; s=arc-20160816; b=OH/8qo8o/wbKXbEbsMg/EJRhROMj9zx3QkVvMmLRskPzBmNO/Tfwip5LmFiLtokWd7 UuTWmXWRo9Z8HlBQk71YsHdO3Cqda4p0sIiYNwQQfoIGazJRPHGZBj7Vc4oWLAudkrNG kk7vBvwZWgqJdK4gZ7wOqPMlgdVqcaO/6wx7ayGtl6bO8J0/XQRzInPCUsq1BRDecw+u s4tCIS0a2NEeWDPgvNZ88z/z9HISYR1LdY1kGPym7KAgHIDpCDKLm51gnTH8r+oi8jp6 2ARownA2Jl1Ui2/LOdbYO0t+fUK4Le+3RZSEgecgR+N67ElHc9Z4wgQvxinLHrF6Skop Dpxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=opxPW7sDVl+7C+S3Q2Kospr5iZDvJnKj9XQDeg4Z+6g=; b=T+Gm+X31HLnje/wsnSC+00eIAs5G8DqZ2aJZokwR3OFu8muJjMgPBE6Ka6ORUWh5Rd NiNgTC7/ZXV69mq4YLnVX1C3aUzOVIx18NusaNDUAFU/85hn9VOx480EFuK0kURosKj5 TVv1lIqaFB2flDNrg6IA9aMYSTUBisldwskIf2jlX5s8D+/X5dv3inkmuZpB5yRc7fn9 sDxSZbyJHuQgIqRkOv4YWnV7YzaoZfUJ4mGOUYU2AMss/R/s/XHL10gn7LALzHC3wvi0 UWYwSsFoogmZKTYuugl0ht52vme6L7RiFCfjcj771ol/DW+1EUZdNd+Qh8RV/N0Nlb6p ZDlg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7-v6si14882213pfi.286.2018.10.26.23.23.28; Fri, 26 Oct 2018 23:23:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727956AbeJ0PDA (ORCPT + 99 others); Sat, 27 Oct 2018 11:03:00 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:53787 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726610AbeJ0PDA (ORCPT ); Sat, 27 Oct 2018 11:03:00 -0400 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 Cc: kernel-janitors@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)