lkml.org 
[lkml]   [2015]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] NFC: nxp-nci: constify nxp_nci_phy_ops structure
Hi Julia,

On Sun, Oct 11, 2015 at 01:24:13PM +0200, Julia Lawall wrote:
> The only instance of a nxp_nci_phy_ops structure is never modified. Thus
> the declaration of the structure and all references to the structure type
> can be made const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
>
> ---
> drivers/nfc/nxp-nci/core.c | 3 ++-
> drivers/nfc/nxp-nci/i2c.c | 2 +-
> drivers/nfc/nxp-nci/nxp-nci.h | 5 +++--
> 3 files changed, 6 insertions(+), 4 deletions(-)
Applied to nfc-next, thanks.

Cheers,
Samuel.


\
 
 \ /
  Last update: 2015-10-20 07:21    [W:0.031 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site