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

Neither the core nor the drivers modify the passed pointer to struct
nfc_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/pn533/pn533.c
include/net/nfc/nfc.h
net/nfc/core.c
net/nfc/digital_core.c
net/nfc/hci/core.c
net/nfc/nci/core.c