Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 0/8] constify nfc i2c_device_id
@ 2017-08-21 17:03 Arvind Yadav
  2017-08-21 17:03 ` [PATCH 1/8] nfc: microread: constify i2c_device_id Arvind Yadav
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Arvind Yadav @ 2017-08-21 17:03 UTC (permalink / raw)
  To: sameo, clement.perrochaud, charles.gorand, r.baldyga, k.opasiak,
	davem
  Cc: linux-kernel, linux-wireless

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-11-06  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 17:03 [PATCH 0/8] constify nfc i2c_device_id Arvind Yadav
2017-08-21 17:03 ` [PATCH 1/8] nfc: microread: constify i2c_device_id Arvind Yadav
2017-08-21 17:03 ` [PATCH 2/8] nfc: nfcmrvl: " Arvind Yadav
2017-08-21 17:03 ` [PATCH 3/8] nfc: nxp-nci: " Arvind Yadav
2017-08-21 17:03 ` [PATCH 4/8] nfc: pn533: " Arvind Yadav
2017-08-21 17:03 ` [PATCH 5/8] nfc: pn544: " Arvind Yadav
2017-08-21 17:03 ` [PATCH 6/8] nfc: s3fwrn5: " Arvind Yadav
2017-08-21 17:03 ` [PATCH 7/8] nfc: st-nci: " Arvind Yadav
2017-08-21 17:04 ` [PATCH 8/8] nfc: st21nfca: " Arvind Yadav
2017-11-06  0:00 ` [PATCH 0/8] constify nfc i2c_device_id Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox