nvmem: core: set size for sysfs bin file
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 30 Nov 2021 13:39:09 +0000 (13:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 15:03:37 +0000 (16:03 +0100)
commit86192251033308bb42f1e9813c962989d8ed07ec
treee78844498cd512882c5d2bf8dee886cddee78643
parent33dc3e3e99e626ce51f462d883b05856c6c30b1d
nvmem: core: set size for sysfs bin file

For some reason we never set the size for nvmem sysfs binary file.
Set this.

Reported-by: Gilles BULOZ <gilles.buloz@kontron.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211130133909.6154-1-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c