Re: [PATCH] NFC: nfcmrvl: constify nfcmrvl_if_ops structures

2016-09-19 Thread Samuel Ortiz
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 > > --- > drivers/nfc/nfcmrvl/i2c.c |2 +- > drivers/nfc/nfcmrvl/

[PATCH] NFC: nfcmrvl: constify nfcmrvl_if_ops structures

2016-08-09 Thread Julia Lawall
The nfcmrvl_if_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/nfc/nfcmrvl/i2c.c |2 +- drivers/nfc/nfcmrvl/main.c|2 +- drivers/nfc/nfcmrvl/nfcmrvl.h |4 ++-- drivers/nfc/nfcmrvl/spi.c