]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30520349d989beb32566b077cca64bb780a1310b
tree119f428bbe33677716c68d6f3aed906195d7872a
parent3e5bcef1801363a9621f0b754d7521d6ea3c8c3c
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