Re: [PATCH] NFC: pn533: constify pn533_phy_ops structures

2016-09-19 Thread Samuel Ortiz
Hi Julia, On Tue, Aug 09, 2016 at 06:11:02PM +0200, Julia Lawall wrote: > The pn533_phy_ops are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/nfc/pn533/i2c.c |2 +- >

Re: [PATCH] NFC: pn533: constify pn533_phy_ops structures

2016-09-19 Thread Samuel Ortiz
Hi Julia, On Tue, Aug 09, 2016 at 06:11:02PM +0200, Julia Lawall wrote: > The pn533_phy_ops are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/nfc/pn533/i2c.c |2 +- > drivers/nfc/pn533/pn533.c |2 +-

[PATCH] NFC: pn533: constify pn533_phy_ops structures

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

[PATCH] NFC: pn533: constify pn533_phy_ops structures

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