[PATCH 1/4] nvmem: snvs_lpgpr: remove unnecessary cfg->name assignment

Stefan Kerkmann <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
The name is now fixed to `snvs` since commit:

8f52947260 ("nvmem: snvs_lpgpr: set nvmem config name to snvs").

Signed-off-by: Stefan Kerkmann <[email protected]>
---
 drivers/nvmem/snvs_lpgpr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nvmem/snvs_lpgpr.c b/drivers/nvmem/snvs_lpgpr.c
index 95ce023a14..6c1d5a836f 100644
--- a/drivers/nvmem/snvs_lpgpr.c
+++ b/drivers/nvmem/snvs_lpgpr.c
@@ -117,7 +117,6 @@ static int snvs_lpgpr_probe(struct device *dev)
 		return PTR_ERR(priv->regmap);
 
 	cfg = &priv->cfg;
-	cfg->name = dev_name(dev);
 	cfg->dev = dev;
 	cfg->priv = priv;
 	cfg->stride = 4;

-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.