device property: constify property arrays values
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Feb 2017 01:41:26 +0000 (17:41 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Feb 2017 12:21:15 +0000 (13:21 +0100)
commit9426998ce6f8616c48c2834cafbe5616da3f5abd
tree03990e849cc0985423227886b1b65772a6eb8526
parentbec84da8d1da6677c458e6eedd8e814eea91b9fc
device property: constify property arrays values

Data that is fed into property arrays should not be modified, so let's mark
relevant pointers as const. This will allow us making source arrays as
const/__initconst.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c
include/linux/property.h