nfc: s3fwrn5: Constify s3fwrn5_fw_info when not modified
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Sep 2020 16:12:17 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:22:16 +0000 (15:22 -0700)
commit171a7000fa94c7ed30720357bc0b9e8d277d15e5
treec6ce0eb1fb44109c12a89783d61e33703b6116ac
parent4aa62c62d4c41d71b2bda5ed01b78961829ee93c
nfc: s3fwrn5: Constify s3fwrn5_fw_info when not modified

Two functions accept pointer to struct s3fwrn5_fw_info but do not
modify the contents.  Make them const so the code is a little bit safer.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/s3fwrn5/firmware.c
drivers/nfc/s3fwrn5/firmware.h