diff options
author | Phil Elwell <phil@raspberrypi.com> | 2023-06-11 17:03:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-19 17:21:57 +0300 |
commit | e27948f329f7e02591ed1feb9a7710c2ccf89a83 (patch) | |
tree | 5eeeaae8c7d434789d5b94cc0cb42484bf78f46a /drivers/mfd | |
parent | 27918479409d08394195e03323ca49d036528c80 (diff) | |
download | linux-e27948f329f7e02591ed1feb9a7710c2ccf89a83.tar.xz |
nvmem: rmem: Use NVMEM_DEVID_AUTO
[ Upstream commit 09dd7b993eddb3b48634fd5ddf27aa799785a9ee ]
It is reasonable to declare multiple nvmem blocks. Unless a unique 'id'
is passed in for each block there may be name clashes.
Avoid this by using the magic token NVMEM_DEVID_AUTO.
Fixes: 5a3fa75a4d9c ("nvmem: Add driver to expose reserved memory as nvmem")
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-6-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions