nfc: constify nfc_hci_gate
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 24 Jul 2021 21:49:24 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:21:21 +0000 (09:21 +0100)
commit5f3e63933793fff15ae3b968f1c03698bdd3fc66
tree882f69e41babb7f0329ed79df1b13914fa7e4b26
parent15944ad2e5a1cc2ef2c6fa60b04e464dbb4ddb61
nfc: constify nfc_hci_gate

Neither the core nor the drivers modify the passed pointer to struct
nfc_hci_gate, 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/microread/microread.c
drivers/nfc/pn544/pn544.c
drivers/nfc/st21nfca/core.c
net/nfc/hci/core.c