nvmem_unregister(nvmem) is used to unregister a previously registered provider.
 
-For example, a simple qfprom case::
+For example, a simple nvram case::
 
-  static struct nvmem_config econfig = {
-       .name = "qfprom",
-       .owner = THIS_MODULE,
-  };
-
-  static int qfprom_probe(struct platform_device *pdev)
+  static int brcm_nvram_probe(struct platform_device *pdev)
   {
+       struct nvmem_config config = {
+               .name = "brcm-nvram",
+               .reg_read = brcm_nvram_read,
+       };
        ...
-       econfig.dev = &pdev->dev;
-       nvmem = nvmem_register(&econfig);
-       ...
+       config.dev = &pdev->dev;
+       config.priv = priv;
+       config.size = resource_size(res);
+
+       devm_nvmem_register(&config);
   }
 
 Users of board files can define and register nvmem cells using the