diff options
author | 2022-02-23 12:09:23 +0000 | |
---|---|---|
committer | 2022-03-01 19:07:30 +0200 | |
commit | 17003d109e6cd08d4db5f6525a1023537ce6c743 (patch) | |
tree | 168c5b29ce36054976be552cdf54e03d779d0222 /drivers/gpu/drm/i915/intel_pm.c | |
parent | drm/i915: Move intel_display_power_well_is_enabled() to intel_display_power_well.c (diff) | |
download | wireguard-linux-17003d109e6cd08d4db5f6525a1023537ce6c743.tar.xz wireguard-linux-17003d109e6cd08d4db5f6525a1023537ce6c743.zip |
drm/i915: make a handful of read-only arrays static const
Don't populate the read-only arrays on the stack but instead make
them static const and signed 8 bit ints. Also makes the object code a
little smaller. Reformat the statements to clear up checkpatch warning.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223120923.239867-1-colin.i.king@gmail.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions