diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-13 19:18:37 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 15:16:37 +0100 |
| commit | 69df024ebbf8b1d4d8f0808b5700688fed9e45e9 (patch) | |
| tree | e6027639383b5ff0f7f0e7ee4264997523634106 /tools/perf/scripts/python | |
| parent | driver core: class: make class_dev_iter_init() options const (diff) | |
| download | linux-69df024ebbf8b1d4d8f0808b5700688fed9e45e9.tar.gz linux-69df024ebbf8b1d4d8f0808b5700688fed9e45e9.zip | |
driver core: class: make class_for_each_device() options const
class_for_each_device() does 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-6-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
