]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvmem: core: only change name to fram for current attribute
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 28 Jun 2024 11:37:03 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2024 14:37:51 +0000 (16:37 +0200)
commit0ba424c934fd43dccf0d597e1ae8851f07cb2edf
tree0cddeb11c18357ee0ecbf3d2f0456429191b4ff8
parent7a0a6d0a7c805f9380381f4deedffdf87b93f408
nvmem: core: only change name to fram for current attribute

bin_attr_nvmem_eeprom_compat is the template from which all future
compat attributes are created.
Changing it means to change all subsquent compat attributes, too.

Instead only use the "fram" name for the currently registered attribute.

Fixes: fd307a4ad332 ("nvmem: prepare basics for FRAM support")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240628113704.13742-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c