diff options
author | Jithu Joseph <[email protected]> | 2023-03-21 17:33:52 -0700 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-03-27 16:10:20 +0200 |
commit | 54c9fcd187dd3bbc151cff9e5be01dda4f23dd0d (patch) | |
tree | 723a17185c1cd9dde3f48221364ca56154e00eda /tools/perf/scripts/python/stackcollapse.py | |
parent | 67f88ffa6d35d6b4e776f98ea64aab0bc026e2a2 (diff) |
platform/x86/intel/ifs: Reorganize driver data
The struct holding device driver data contained both read only(ro)
and read write(rw) fields.
Separating ro fields from rw fields was recommended as
a preferable design pattern during review[1].
Group ro fields into a separate const struct. Associate it to
the miscdevice being registered by keeping its pointer in the
same container struct as the miscdevice.
Link: https://lore.kernel.org/lkml/[email protected]/ [1]
Signed-off-by: Jithu Joseph <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions