From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbbJTEud (ORCPT ); Tue, 20 Oct 2015 00:50:33 -0400 Received: from mga03.intel.com ([134.134.136.65]:44390 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751545AbbJTEua (ORCPT ); Tue, 20 Oct 2015 00:50:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,706,1437462000"; d="scan'208";a="584288584" Date: Tue, 20 Oct 2015 06:50:24 +0200 From: Samuel Ortiz To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, Charles Gorand , Lauro Ramos Venancio , Aloisio Almeida Jr , linux-nfc@ml01.01.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] NFC: nxp-nci: constify nxp_nci_phy_ops structure Message-ID: <20151020045024.GD9764@zurbaran.home> References: <1444562653-4914-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444562653-4914-1-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Julia, On Sun, Oct 11, 2015 at 01:24:13PM +0200, Julia Lawall wrote: > The only instance of a nxp_nci_phy_ops structure is never modified. Thus > the declaration of the structure and all references to the structure type > can be made const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/nfc/nxp-nci/core.c | 3 ++- > drivers/nfc/nxp-nci/i2c.c | 2 +- > drivers/nfc/nxp-nci/nxp-nci.h | 5 +++-- > 3 files changed, 6 insertions(+), 4 deletions(-) Applied to nfc-next, thanks. Cheers, Samuel.