diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-21 19:03:59 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-11-06 00:56:56 +0100 |
commit | 984553078497082008b8a2bd681facdc789b5acf (patch) | |
tree | 116d2b163d463411a685bcd5f0e8263ef87a5670 /drivers/nfc/st21nfca/i2c.c | |
parent | nfc: s3fwrn5: constify i2c_device_id (diff) | |
download | linux-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