Messages in this thread | | | Date | Mon, 19 Sep 2016 10:36:42 +0200 | From | Samuel Ortiz <> | Subject | Re: [PATCH] NFC: nfcmrvl: constify nfcmrvl_if_ops structures |
| |
Hi Julia,
On Tue, Aug 09, 2016 at 07:03:50PM +0200, Julia Lawall wrote: > The nfcmrvl_if_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> > > --- > drivers/nfc/nfcmrvl/i2c.c | 2 +- > drivers/nfc/nfcmrvl/main.c | 2 +- > drivers/nfc/nfcmrvl/nfcmrvl.h | 4 ++-- > drivers/nfc/nfcmrvl/spi.c | 2 +- > drivers/nfc/nfcmrvl/uart.c | 2 +- > drivers/nfc/nfcmrvl/usb.c | 2 +- > 6 files changed, 7 insertions(+), 7 deletions(-) Applied as well, thanks.
Cheers, Samuel.
| |