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

Ahmad Fatoum <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>

On 6/3/26 3:33 PM, Stefan Kerkmann wrote:
> 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]>

Reviewed-by: Ahmad Fatoum <[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;
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
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.