OSDN Git Service

nfc: port100: constify several pointers
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 29 Jul 2021 10:40:13 +0000 (12:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:28:03 +0000 (12:28 +0100)
commit9a4af01c35a5bed9d717433651629e4c9865f8f2
tree1b6457ecf8fe92fc99138d0a5dbfe6b90a44d263
parent894a6e15863307d8821857aaa2ecf80cde2a6c82
nfc: port100: constify several pointers

Several functions do not modify pointed data so arguments and local
variables can be 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/port100.c