diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-05-27 12:25:22 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-06-04 18:57:22 +0300 |
commit | 612abe44f70f17dfad6830acd987f9696689869b (patch) | |
tree | 433727c4a248af7b2a7da879512eb9f350c3fe52 /rust/helpers/xarray.c | |
parent | 9ab671afacc14449500d9da1633a8389a2a18b83 (diff) |
drm/i915/dram: add accessor for struct dram_info and use it
Add a function to get the (const) pointer to struct dram_info, and use
that to obtain the pointer instead of poking at i915->dram_info
directly.
Clean up a couple of local variables while at it.
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://lore.kernel.org/r/4174edf649e2f6805dab6fd6ce2ec10f4e5f2498.1748337870.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions