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

From: Samuel Ortiz
Date: Mon Sep 19 2016 - 04:37:02 EST


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@xxxxxxx>
>
> ---
> 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.