nvmem: mtk-efuse: Drop NVMEM device name
authorChen-Yu Tsai <wenst@chromium.org>
Sat, 24 Feb 2024 11:45:14 +0000 (11:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2024 20:21:53 +0000 (20:21 +0000)
commit76c345edef754b16cab81ad9452cc49c09e67066
tree8de62e7001d037d2634fe8eb8b88d366aeaf8fb9
parent9f742e3efc978a480d64b10b353bde656e275aa1
nvmem: mtk-efuse: Drop NVMEM device name

The MT8183 has not one but two efuse devices. The static name and ID
causes the second efuse device to fail to probe, due to duplicate sysfs
entries.

With the rework of the mtk-socinfo driver, lookup by name is no longer
necessary. The custom name can simply be dropped.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: "NĂ­colas F. R. A. Prado" <nfraprado@collabora.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240224114516.86365-10-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/mtk-efuse.c