]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95e75e57217dcbcf48243dbd09fa47ab76aa5c69
tree72c50f7f6a543bca90cbda52d526f990bccbcdec
parent358276e393d7fbe7e4bd866d8ed45f6155604699
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