Re: [PATCH] NFC: nxp-nci: constify nxp_nci_phy_ops structure

From: Samuel Ortiz
Date: Tue Oct 20 2015 - 00:50:37 EST


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@xxxxxxx>
>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/