OSDN Git Service

nfc: nfcsim: constify drvdata (struct nfcsim)
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 29 Jul 2021 10:40:16 +0000 (12:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:28:03 +0000 (12:28 +0100)
commit582fdc98adc8a0f4286cff0e2c6226750cf190ee
tree8836052ea0e47ab887704f6188dabddca48aeec8
parent83428dbbac514f33597e6c8c571969027b3fac82
nfc: nfcsim: constify drvdata (struct nfcsim)

nfcsim_abort_cmd() does not modify struct nfcsim, so local variable
can be a pointer to const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/nfcsim.c