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>
Showing
- drivers/nfc/microread/microread.c 1 addition, 1 deletiondrivers/nfc/microread/microread.c
- drivers/nfc/pn544/pn544.c 1 addition, 1 deletiondrivers/nfc/pn544/pn544.c
- drivers/nfc/st21nfca/core.c 1 addition, 1 deletiondrivers/nfc/st21nfca/core.c
- net/nfc/hci/core.c 1 addition, 1 deletionnet/nfc/hci/core.c
Loading
Please register or sign in to comment