Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752232AbdHJKc2 (ORCPT ); Thu, 10 Aug 2017 06:32:28 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:24088 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751511AbdHJKcX (ORCPT ); Thu, 10 Aug 2017 06:32:23 -0400 X-IronPort-AV: E=Sophos;i="5.41,352,1498514400"; d="scan'208";a="234125765" From: Julia Lawall To: linux-arm-kernel@axis.com Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Linus Walleij , linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/17] constify pinconf_ops, pinctrl_ops, and pinmux_ops structures Date: Thu, 10 Aug 2017 12:06:12 +0200 Message-Id: <1502359589-15970-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 25 These structures are only stored in fields of a pinctrl_desc structure that are const. Make the structures const as well. Done with the help of Coccinelle. --- drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c | 4 ++-- drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 6 +++--- drivers/pinctrl/bcm/pinctrl-bcm281xx.c | 2 +- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 2 +- drivers/pinctrl/pinctrl-adi2.c | 4 ++-- drivers/pinctrl/pinctrl-artpec6.c | 2 +- drivers/pinctrl/pinctrl-digicolor.c | 4 ++-- drivers/pinctrl/pinctrl-ingenic.c | 6 +++--- drivers/pinctrl/pinctrl-rza1.c | 2 +- drivers/pinctrl/pinctrl-st.c | 6 +++--- drivers/pinctrl/pinctrl-tb10x.c | 4 ++-- drivers/pinctrl/pinctrl-tz1090-pdc.c | 6 +++--- drivers/pinctrl/pinctrl-tz1090.c | 6 +++--- drivers/pinctrl/sirf/pinctrl-atlas7.c | 2 +- drivers/pinctrl/sirf/pinctrl-sirf.c | 4 ++-- drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 4 ++-- drivers/pinctrl/vt8500/pinctrl-wmt.c | 6 +++--- 17 files changed, 35 insertions(+), 35 deletions(-)