diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-03 23:06:19 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-04 16:46:45 +0300 |
commit | 51d3e62927193c101e02ad3ef114dbcd8f49b34a (patch) | |
tree | ab2c6a519e0270815fe85627d0c47adc85abda04 /drivers/spi | |
parent | 99e5a010e8153bf2454ceefe725fea5de72e7d64 (diff) |
drm/i915: Introduce for_each_shared_dpll()
No one really cares how we store the shared_dplls. Currently
it happens to be an array, but we could change that to a more
flexible scheme at some point. Hide the implementation details
behind an iterator macro.
The slight downside is the pll variable moving out of the
loop scope, but maybe someday soon we'll start to convert
everything over to having declarations within for-statements...
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231003200620.11633-4-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions