Re: [PATCH] nfc: s3fwrn5: constify s3fwrn5_phy_ops structures

2015-12-20 Thread Samuel Ortiz
Hi Julia, On Fri, Nov 13, 2015 at 01:04:41PM +0100, Julia Lawall wrote: > The s3fwrn5_phy_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. Applied to nfc-next, thanks. Cheers, Samuel. -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH] nfc: s3fwrn5: constify s3fwrn5_phy_ops structures

2015-11-13 Thread Robert Baldyga
On 11/13/2015 01:04 PM, Julia Lawall wrote: > The s3fwrn5_phy_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Robert Baldyga Thanks! Robert Baldyga > > --- > drivers/nfc/s3fwrn5/core.c|2 +- >

[PATCH] nfc: s3fwrn5: constify s3fwrn5_phy_ops structures

2015-11-13 Thread Julia Lawall
The s3fwrn5_phy_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/nfc/s3fwrn5/core.c|2 +- drivers/nfc/s3fwrn5/i2c.c |2 +- drivers/nfc/s3fwrn5/s3fwrn5.h |4 ++-- 3 files changed, 4 insertions(