From: Lothar Waßmann Date: Wed, 7 Aug 2013 06:15:37 +0000 (+0200) Subject: mtd: nand: gpmi-nand: janitorial cleanup: (commas after last element of struct initia... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d41f950e27f0e155d0118e71403d2bd564d94787;p=linux-beck.git mtd: nand: gpmi-nand: janitorial cleanup: (commas after last element of struct initializer) Acked-by: Huang Shijie Signed-off-by: Lothar Waßmann Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index a9830ff8e3f3..10a092dbaa71 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c @@ -1691,19 +1691,19 @@ static const struct platform_device_id gpmi_ids[] = { { .name = "imx23-gpmi-nand", .driver_data = IS_MX23, }, { .name = "imx28-gpmi-nand", .driver_data = IS_MX28, }, { .name = "imx6q-gpmi-nand", .driver_data = IS_MX6Q, }, - {}, + {} }; static const struct of_device_id gpmi_nand_id_table[] = { { .compatible = "fsl,imx23-gpmi-nand", - .data = (void *)&gpmi_ids[IS_MX23] + .data = (void *)&gpmi_ids[IS_MX23], }, { .compatible = "fsl,imx28-gpmi-nand", - .data = (void *)&gpmi_ids[IS_MX28] + .data = (void *)&gpmi_ids[IS_MX28], }, { .compatible = "fsl,imx6q-gpmi-nand", - .data = (void *)&gpmi_ids[IS_MX6Q] + .data = (void *)&gpmi_ids[IS_MX6Q], }, {} }; MODULE_DEVICE_TABLE(of, gpmi_nand_id_table);