nfc: microread: constify several pointers
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 29 Jul 2021 10:40:20 +0000 (12:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:28:03 +0000 (12:28 +0100)
commita751449f8b477e0e1d97f778ed97ae9f6576b690
treee4ae44bcda01ca970cb4668dce8135b7cab0d5fd
parent3d463dd5023b5a58b3c37207d65eeb5acbac2be3
nfc: microread: 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/microread/i2c.c
drivers/nfc/microread/microread.c
drivers/nfc/microread/microread.h