Messages in this thread | | | Date | Tue, 20 Oct 2015 06:50:24 +0200 | From | Samuel Ortiz <> | 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@lip6.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.
| |