]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:58:32 +0000 (09:58 +0200)
commit6ba258c8082f3a17b07734d8af6aa2d9655cde98
tree5917cb22418f0e1bbd86a5b3d14b455dfec5a829
parent25151f50686e9988c3bd10e83ee46a50759018ba
drm/i915: Rename block_size()/block_offset()

commit 39b1bc4b5bcccac781267bb826b035fbb99c8b9d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/display/intel_bios.c