nfc: pn544: constify i2c_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 21 Aug 2017 17:03:57 +0000 (22:33 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 5 Nov 2017 23:56:55 +0000 (00:56 +0100)
commit3737ff15b0e88fd9d4942118c2c9ece917ddc68f
treeae03b200692c9b3d64d88af0fb554c152dbd3e1d
parentf98786da9d18ee1ecfac4a68e532b1859cf7d1c0
nfc: pn544: 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>
drivers/nfc/pn544/i2c.c