]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename block_size()/block_offset()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 May 2022 14:00:10 +0000 (17:00 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 May 2022 13:02:31 +0000 (16:02 +0300)
commit33cca2877b7f49d3d57bdcd4fc6e43c692c941ce
tree379d8d56fc2681bd0ffdab8bc8764b4316de3008
parent79733029b779d4607c49850df279f9c20b640ea5
drm/i915: Rename block_size()/block_offset()

Give block_size()/block_offset() a "raw_" prefix since they
both operate on the "raw" (as in not duplicated) BDB block
contents.

What actually spurred this was a conflict between intel_bios.c
block_size() vs. block_size() from blkdev.h. That only
happened to me on a custom tree where we somehow manage to
include blkdev.h into intel_bios.c. But I think the rename
makes sense anyway to clarify the purpose of these functions.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220519140010.10600-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c