dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] constify drm i2c_device_id
@ 2017-08-19 18:28 Arvind Yadav
  2017-08-19 18:28 ` [PATCH 1/3] drm: i2c: ch7006: constify i2c_device_id Arvind Yadav
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Arvind Yadav @ 2017-08-19 18:28 UTC (permalink / raw)
  To: airlied, linux; +Cc: linux-kernel, dri-devel

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 (3):
  [PATCH 1/3] drm: i2c: ch7006: constify i2c_device_id
  [PATCH 2/3] drm: i2c: sil164: constify i2c_device_id
  [PATCH 3/3] drm: i2c: tda998x: constify i2c_device_id

 drivers/gpu/drm/i2c/ch7006_drv.c  | 2 +-
 drivers/gpu/drm/i2c/sil164_drv.c  | 2 +-
 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.4

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19 18:28 [PATCH 0/3] constify drm i2c_device_id Arvind Yadav
2017-08-19 18:28 ` [PATCH 1/3] drm: i2c: ch7006: constify i2c_device_id Arvind Yadav
2017-08-19 18:28 ` [PATCH 2/3] drm: i2c: sil164: " Arvind Yadav
2017-08-19 18:28 ` [PATCH 3/3] drm: i2c: tda998x: " Arvind Yadav
2017-08-22  6:31 ` [PATCH 0/3] constify drm i2c_device_id Daniel Vetter
2017-08-22  9:43   ` Arvind Yadav

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