diff options
author | 2017-02-02 17:41:25 -0800 | |
---|---|---|
committer | 2017-02-07 13:21:15 +0100 | |
commit | bec84da8d1da6677c458e6eedd8e814eea91b9fc (patch) | |
tree | c78b997b7d47c5040f67fdabb3770e5dc0057c63 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 4.10-rc7 (diff) | |
download | linux-dev-bec84da8d1da6677c458e6eedd8e814eea91b9fc.tar.xz linux-dev-bec84da8d1da6677c458e6eedd8e814eea91b9fc.zip |
device property: allow to constify properties
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 const/__initconst at definition
sites.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions