Tag: 7cf6d08cafd67a34d0d78cd15baf64e214e050cb

NFC: nxp-nci: constify nxp_nci_phy_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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 Signed-off-by: Samuel Ortiz — drivers/nfc/nxp-nci/core.c | 3 ++- drivers/nfc/nxp-nci/i2c.c | 2 +- drivers/nfc/nxp-nci/nxp-nci.h | 5 …

Continue reading