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)
commit39b1bc4b5bcccac781267bb826b035fbb99c8b9d
tree379d8d56fc2681bd0ffdab8bc8764b4316de3008
parent08c59dde71b73a0ac94e3ed2d431345b01f20485
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