mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] constify media i2c_device_id
@ 2017-08-19 19:20 Arvind Yadav
  2017-08-19 19:20 ` [PATCH 1/6] [media] ad9389b: constify i2c_device_id Arvind Yadav
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-08-19 19:20 UTC (permalink / raw)
  To: hans.verkuil, mchehab, matrandg; +Cc: linux-kernel, linux-media

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 (6):
  [PATCH 1/6] [media] ad9389b: constify i2c_device_id
  [PATCH 2/6] [media] adv7511: constify i2c_device_id
  [PATCH 3/6] [media] adv7842: constify i2c_device_id
  [PATCH 4/6] [media] saa7127: constify i2c_device_id
  [PATCH 5/6] [media] tc358743: constify i2c_device_id
  [PATCH 6/6] [media] ths8200: constify i2c_device_id

 drivers/media/i2c/ad9389b.c  | 2 +-
 drivers/media/i2c/adv7511.c  | 2 +-
 drivers/media/i2c/adv7842.c  | 2 +-
 drivers/media/i2c/saa7127.c  | 2 +-
 drivers/media/i2c/tc358743.c | 2 +-
 drivers/media/i2c/ths8200.c  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-08-19 19:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-19 19:20 [PATCH 0/6] constify media i2c_device_id Arvind Yadav
2017-08-19 19:20 ` [PATCH 1/6] [media] ad9389b: constify i2c_device_id Arvind Yadav
2017-08-19 19:20 ` [PATCH 2/6] [media] adv7511: " Arvind Yadav
2017-08-19 19:20 ` [PATCH 3/6] [media] adv7842: " Arvind Yadav
2017-08-19 19:20 ` [PATCH 4/6] [media] saa7127: " Arvind Yadav
2017-08-19 19:20 ` [PATCH 5/6] [media] tc358743: " Arvind Yadav
2017-08-19 19:20 ` [PATCH 6/6] [media] ths8200: " Arvind Yadav

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

all inboxes | Powered by JetHome®