nfc: constify nfc_digital_ops
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 24 Jul 2021 21:49:28 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:21:21 +0000 (09:21 +0100)
commit7186aac9c22de855220ebc54df7af399647bd1fc
tree119f428bbe33677716c68d6f3aed906195d7872a
parent49545357bf7e134a4012d4652c2df5f78f4485af
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>
drivers/nfc/nfcsim.c
drivers/nfc/port100.c
drivers/nfc/st95hf/core.c
drivers/nfc/trf7970a.c
include/net/nfc/digital.h
net/nfc/digital_core.c