nfc: constify nfc_digital_ops
Neither the core nor the drivers modify the passed pointer to struct nfc_digital_ops, 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/nfcsim.c 1 addition, 1 deletiondrivers/nfc/nfcsim.c
- drivers/nfc/port100.c 1 addition, 1 deletiondrivers/nfc/port100.c
- drivers/nfc/st95hf/core.c 1 addition, 1 deletiondrivers/nfc/st95hf/core.c
- drivers/nfc/trf7970a.c 1 addition, 1 deletiondrivers/nfc/trf7970a.c
- include/net/nfc/digital.h 2 additions, 2 deletionsinclude/net/nfc/digital.h
- net/nfc/digital_core.c 1 addition, 1 deletionnet/nfc/digital_core.c
Loading
Please register or sign in to comment