summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st21nfca/i2c.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-21 19:03:59 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2017-11-06 00:56:56 +0100
commit984553078497082008b8a2bd681facdc789b5acf (patch)
tree116d2b163d463411a685bcd5f0e8263ef87a5670 /drivers/nfc/st21nfca/i2c.c
parentnfc: s3fwrn5: constify i2c_device_id (diff)
downloadlinux-984553078497082008b8a2bd681facdc789b5acf.tar.xz
linux-984553078497082008b8a2bd681facdc789b5acf.zip
nfc: st-nci: constify i2c_device_id
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by <linux/i2c.h> work with const i2c_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca/i2c.c')
0 files changed, 0 insertions, 0 deletions