NFC: nxp-nci: constify nxp_nci_phy_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 11 Oct 2015 11:24:13 +0000 (13:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Oct 2015 18:04:13 +0000 (20:04 +0200)
commit7cf6d08cafd67a34d0d78cd15baf64e214e050cb
tree72c50f7f6a543bca90cbda52d526f990bccbcdec
parent893a84e8180dcc37a3b0fd19d04dbe6cbc6e33db
NFC: nxp-nci: constify nxp_nci_phy_ops structure

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>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nxp-nci/core.c
drivers/nfc/nxp-nci/i2c.c
drivers/nfc/nxp-nci/nxp-nci.h