diff options
author | Chen-Yu Tsai <[email protected]> | 2024-02-24 11:45:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 20:21:53 +0000 |
commit | 76c345edef754b16cab81ad9452cc49c09e67066 (patch) | |
tree | 8de62e7001d037d2634fe8eb8b88d366aeaf8fb9 | |
parent | 9f742e3efc978a480d64b10b353bde656e275aa1 (diff) |
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 <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Tested-by: "NĂcolas F. R. A. Prado" <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/nvmem/mtk-efuse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvmem/mtk-efuse.c b/drivers/nvmem/mtk-efuse.c index f5bebcecf9bd..9caf04667341 100644 --- a/drivers/nvmem/mtk-efuse.c +++ b/drivers/nvmem/mtk-efuse.c @@ -86,7 +86,6 @@ static int mtk_efuse_probe(struct platform_device *pdev) econfig.size = resource_size(res); econfig.priv = priv; econfig.dev = dev; - econfig.name = "mtk-efuse"; if (pdata->uses_post_processing) econfig.fixup_dt_cell_info = &mtk_efuse_fixup_dt_cell_info; nvmem = devm_nvmem_register(dev, &econfig); |