Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data

From: Boris Brezillon
Date: Thu Nov 05 2015 - 03:50:59 EST


On Fri, 30 Oct 2015 20:33:28 -0700
Brian Norris <computersforpeace@xxxxxxxxx> wrote:

> --- a/drivers/mtd/maps/lantiq-flash.c
> +++ b/drivers/mtd/maps/lantiq-flash.c
> @@ -110,7 +110,6 @@ ltq_copy_to(struct map_info *map, unsigned long to,
> static int
> ltq_mtd_probe(struct platform_device *pdev)
> {
> - struct mtd_part_parser_data ppdata;
> struct ltq_mtd *ltq_mtd;
> struct cfi_private *cfi;
> int err;
> @@ -161,13 +160,13 @@ ltq_mtd_probe(struct platform_device *pdev)
> }
>
> ltq_mtd->mtd->dev.parent = &pdev->dev;
> + mtd_set_of_node(&ltq_mtd->mtd, pdev->dev.of_node);

Should be:

mtd_set_of_node(ltq_mtd->mtd, pdev->dev.of_node);

(This error was reported by your aiaiai build test)

--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/