aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2019-11-08 17:39:49 +0200
committerJani Nikula <[email protected]>2019-11-12 17:35:41 +0200
commit0d9ef19bddc88ec06ea1e32f0dda25cb82063386 (patch)
tree76085d1f01b6dd83efd7022d22ef07ec2f322276 /tools/perf/scripts/python
parent7a0073d662db8712b1bc1dff2e430725dd9ceff8 (diff)
drm/i915/bios: store child devices in a list
Using the array is getting clumsy. Make things a bit more dynamic. Remove early returns on not having child devices when the end result after "iterating" the empty list would be the same. v3: - use list_add_tail to not reverse the child device list (Ville) v2: - stick to previous naming of child devices (Ville) - use kzalloc, handle failure - initialize list head earlier to keep intel_bios_driver_remove() safe Cc: Ville Syrjala <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/3e72da0b412354ed8be6719df55b0e0cc4caa61a.1573227240.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions