summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJithu Joseph <jithu.joseph@intel.com>2023-03-22 03:33:52 +0300
committerHans de Goede <hdegoede@redhat.com>2023-03-27 17:10:20 +0300
commit54c9fcd187dd3bbc151cff9e5be01dda4f23dd0d (patch)
tree723a17185c1cd9dde3f48221364ca56154e00eda /tools/perf/scripts/python/exported-sql-viewer.py
parent67f88ffa6d35d6b4e776f98ea64aab0bc026e2a2 (diff)
downloadlinux-54c9fcd187dd3bbc151cff9e5be01dda4f23dd0d.tar.xz
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/Y+9H9otxLYPqMkUh@kroah.com/ [1] Signed-off-by: Jithu Joseph <jithu.joseph@intel.com> Reviewed-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20230322003359.213046-3-jithu.joseph@intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions