Re: [PATCH v5 1/4] device property: allow to constify properties

2017-02-03 Thread Dmitry Torokhov
On Fri, Feb 03, 2017 at 01:40:21PM +0200, Andy Shevchenko wrote: > On Thu, 2017-02-02 at 17:41 -0800, Dmitry Torokhov wrote: > > There is no reason why statically defined properties should be > > modifiable, > > so let's make device_add_properties() and the rest of pset_*() > > functions to > > tak

Re: [PATCH v5 1/4] device property: allow to constify properties

2017-02-03 Thread Andy Shevchenko
On Thu, 2017-02-02 at 17:41 -0800, Dmitry Torokhov wrote: > There is no reason why statically defined properties should be > modifiable, > so let's make device_add_properties() and the rest of pset_*() > functions to > take const pointers to properties. > > This will allow us to mark properties as