nfc: constify nci_driver_ops (prop_ops and core_ops)
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 24 Jul 2021 21:47:35 +0000 (23:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:21:21 +0000 (09:21 +0100)
commitcb8caa3c6c04c18027258ab34e09bcf87e726f22
treead8e52acad9c96797998fefd91c7a235f473ed51
parentd08ba0fdeaba03c70483d74de4401e67bbd9f020
nfc: constify nci_driver_ops (prop_ops and core_ops)

Neither the core nor the drivers modify the passed pointer to struct
nci_driver_ops (consisting of function pointers), so make it a pointer
to const for correctness and safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/fdp/fdp.c
drivers/nfc/s3fwrn5/nci.c
drivers/nfc/s3fwrn5/nci.h
drivers/nfc/st-nci/core.c
include/net/nfc/nci_core.h
net/nfc/nci/core.c