Merge tag 'for-linus-20130204' of git://git.infradead.org/linux-mtd
[deliverable/linux.git] / drivers / mtd / maps / physmap_of.c
index 37cdc201652f612406883f60243121fc78d55a60..7901d72c92425dc41485947468231cf7776db372 100644 (file)
@@ -78,7 +78,7 @@ static int of_flash_remove(struct platform_device *dev)
  * compatible binding, which has an extra "probe-type" property
  * describing the type of flash probe necessary. */
 static struct mtd_info *obsolete_probe(struct platform_device *dev,
-                                                 struct map_info *map)
+                                      struct map_info *map)
 {
        struct device_node *dp = dev->dev.of_node;
        const char *of_probe;
@@ -170,7 +170,7 @@ static int of_flash_probe(struct platform_device *dev)
        resource_size_t res_size;
        struct mtd_part_parser_data ppdata;
        bool map_indirect;
-       const char *mtd_name;
+       const char *mtd_name = NULL;
 
        match = of_match_device(of_flash_match, &dev->dev);
        if (!match)
This page took 0.026235 seconds and 5 git commands to generate.