summaryrefslogtreecommitdiffstats
path: root/src/commonlib/include
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-12-01 14:48:59 -0800
committerFelix Held <felix-coreboot@felixheld.de>2021-12-03 16:49:53 +0000
commitf364eb9e1a2fb3f95d204faaa43d5eeb6113d89e (patch)
tree77027dfccd1f2b9f5a0380f7e9f02d79da7045c1 /src/commonlib/include
parent29c7622d08c95a48e10785cc1bc5cffc6874fe94 (diff)
downloadcoreboot-f364eb9e1a2fb3f95d204faaa43d5eeb6113d89e.tar.gz
coreboot-f364eb9e1a2fb3f95d204faaa43d5eeb6113d89e.tar.bz2
coreboot-f364eb9e1a2fb3f95d204faaa43d5eeb6113d89e.zip
region: Rename rdev_readat_full to rdev_read_full
The 'at' part of the name refers to starting to read from a specific offset, so it doesn't make sense for the 'full' version of the function. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I60d595f0cbd161df171eaa4a76c7a00b6377e2b0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59820 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/include')
-rw-r--r--src/commonlib/include/commonlib/region.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/include/commonlib/region.h b/src/commonlib/include/commonlib/region.h
index 5d73d9e19988..25efcc8724cf 100644
--- a/src/commonlib/include/commonlib/region.h
+++ b/src/commonlib/include/commonlib/region.h
@@ -163,7 +163,7 @@ static inline int rdev_chain_full(struct region_device *child,
*
* You must ensure the buffer is large enough to hold the full region_device.
*/
-static inline ssize_t rdev_readat_full(const struct region_device *rd, void *b)
+static inline ssize_t rdev_read_full(const struct region_device *rd, void *b)
{
return rdev_readat(rd, b, 0, region_device_sz(rd));
}