Search Linux Wireless

[PATCH 0/8] constify nfc i2c_device_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Arvind Yadav (8):
  [PATCH 1/8] nfc: microread: constify i2c_device_id
  [PATCH 2/8] nfc: nfcmrvl: constify i2c_device_id
  [PATCH 3/8] nfc: nxp-nci: constify i2c_device_id
  [PATCH 4/8] nfc: pn533: constify i2c_device_id
  [PATCH 5/8] nfc: pn544: constify i2c_device_id
  [PATCH 6/8] nfc: s3fwrn5: constify i2c_device_id
  [PATCH 7/8] nfc: st-nci: constify i2c_device_id
  [PATCH 8/8] nfc: st21nfca: constify i2c_device_id

 drivers/nfc/microread/i2c.c | 2 +-
 drivers/nfc/nfcmrvl/i2c.c   | 2 +-
 drivers/nfc/nxp-nci/i2c.c   | 2 +-
 drivers/nfc/pn533/i2c.c     | 2 +-
 drivers/nfc/pn544/i2c.c     | 2 +-
 drivers/nfc/s3fwrn5/i2c.c   | 2 +-
 drivers/nfc/st-nci/i2c.c    | 2 +-
 drivers/nfc/st21nfca/i2c.c  | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.7.4




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux