nfc: constify pointer to nfc_vendor_cmd
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 24 Jul 2021 21:49:23 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:21:21 +0000 (09:21 +0100)
commit15944ad2e5a1cc2ef2c6fa60b04e464dbb4ddb61
tree1e6eaa905b18ddca5743a5f3b4b758d937dfe83e
parent0f20ae9bb96be60f50d51feb37f1435dac5687ea
nfc: constify pointer to nfc_vendor_cmd

Neither the core nor the drivers modify the passed pointer to struct
nfc_vendor_cmd, 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/st-nci/vendor_cmds.c
drivers/nfc/st21nfca/vendor_cmds.c
include/net/nfc/hci.h
include/net/nfc/nci_core.h
include/net/nfc/nfc.h
net/nfc/netlink.c