aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 19:18:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 15:16:39 +0100
commitcf41015ea8d3f2ae451d9b7e39ef42569caeb875 (patch)
treebc38701346e5e6c1582a805e20bcfee240a7527b /tools/perf/scripts/python
parentdriver core: class: make class_for_each_device() options const (diff)
downloadlinux-cf41015ea8d3f2ae451d9b7e39ef42569caeb875.tar.gz
linux-cf41015ea8d3f2ae451d9b7e39ef42569caeb875.zip
driver core: class: make class_find_device*() options const
The class_find_device*() functions do not modify the struct class or the struct device passed into it, so mark them as const * to enforce that. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20230313181843.1207845-7-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions