[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151020045024.GD9764@zurbaran.home>
Date: Tue, 20 Oct 2015 06:50:24 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: kernel-janitors@...r.kernel.org,
Charles Gorand <charles.gorand@...innov.com>,
Lauro Ramos Venancio <lauro.venancio@...nbossa.org>,
Aloisio Almeida Jr <aloisio.almeida@...nbossa.org>,
linux-nfc@...ts.01.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] NFC: nxp-nci: constify nxp_nci_phy_ops structure
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 <Julia.Lawall@...6.fr>
>
> ---
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists