Re: [PATCH 0/3] constify drm i2c_device_id

2017-08-22 Thread Arvind Yadav
Hi Daniel, On Tuesday 22 August 2017 12:01 PM, Daniel Vetter wrote: On Sat, Aug 19, 2017 at 11:58:17PM +0530, Arvind Yadav wrote: i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const stru

Re: [PATCH 0/3] constify drm i2c_device_id

2017-08-21 Thread Daniel Vetter
On Sat, Aug 19, 2017 at 11:58:17PM +0530, Arvind Yadav wrote: > i2c_device_id are not supposed to change at runtime. All functions > working with i2c_device_id provided by work with > const i2c_device_id. So mark the non-const structs as const. All applied. btw I think this isn't your first seri

[PATCH 0/3] constify drm i2c_device_id

2017-08-19 Thread Arvind Yadav
i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by 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_de