]> 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)
commit67a84ee76c92817066b6f4588eb9560f579170de
tree72c50f7f6a543bca90cbda52d526f990bccbcdec
parentd22502712aabefaea91a4fd6810fdea9f6eda6e4
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