diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-12-21 20:34:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 19:01:13 +0300 |
commit | 33cf42e68efc8ff529a7eee08a4f0ba8c8d0a207 (patch) | |
tree | ab6de4481b3080c1e5db3a4a51182e6738126ff6 /drivers/edac | |
parent | 43f60e3fb62edc7bd8891de8779fb422f4ae23ae (diff) | |
download | linux-33cf42e68efc8ff529a7eee08a4f0ba8c8d0a207.tar.xz |
nvmem: core: add nvmem_dev_size() helper
This is required by layouts that need to read whole NVMEM content. It's
especially useful for NVMEM devices without hardcoded layout (like
U-Boot environment data block).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231221173421.13737-2-zajec5@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions