From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14] helo=tx2outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V4m5S-0006u7-7x for linux-mtd@lists.infradead.org; Thu, 01 Aug 2013 06:10:13 +0000 Message-ID: <51F9FCBB.6050909@freescale.com> Date: Thu, 1 Aug 2013 14:14:19 +0800 From: Huang Shijie MIME-Version: 1.0 To: =?UTF-8?B?TG90aGFyIFdhw59tYW5u?= Subject: Re: [PATCH 04/25] mtd: nand: gpmi-nand: janitorial cleanup: (commas after last element of struct initializer) References: <1375279887-17928-1-git-send-email-LW@KARO-electronics.de> <1375279887-17928-2-git-send-email-LW@KARO-electronics.de> <51F9C4C2.8040403@freescale.com> <20985.63269.929367.546435@ipc1.ka-ro> In-Reply-To: <20985.63269.929367.546435@ipc1.ka-ro> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Artem Bityutskiy , linux-mtd@lists.infradead.org, David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , =E4=BA=8E 2013=E5=B9=B408=E6=9C=8801=E6=97=A5 13:50, Lothar Wa=C3=9Fmann = =E5=86=99=E9=81=93: > Hi, > > Huang Shijie writes: >> =E4=BA=8E 2013=E5=B9=B407=E6=9C=8831=E6=97=A5 22:11, Lothar Wa=C3=9Fma= nn =E5=86=99=E9=81=93: >>> Signed-off-by: Lothar Wa=C3=9Fmann >>> --- >>> drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 8 ++++---- >>> 1 files changed, 4 insertions(+), 4 deletions(-) >>> >>> diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nan= d/gpmi-nand/gpmi-nand.c >>> index f557a1d..4f7ec59 100644 >>> --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c >>> +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c >>> @@ -1569,19 +1569,19 @@ static const struct platform_device_id gpmi_i= ds[] =3D { >>> { .name =3D "imx23-gpmi-nand", .driver_data =3D IS_MX23, }, >>> { .name =3D "imx28-gpmi-nand", .driver_data =3D IS_MX28, }, >>> { .name =3D "imx6q-gpmi-nand", .driver_data =3D IS_MX6Q, }, >>> - {}, >>> + {} >>> }; >>> >>> static const struct of_device_id gpmi_nand_id_table[] =3D { >>> { >>> .compatible =3D "fsl,imx23-gpmi-nand", >>> - .data =3D (void *)&gpmi_ids[IS_MX23] >>> + .data =3D (void *)&gpmi_ids[IS_MX23], >>> }, { >>> .compatible =3D "fsl,imx28-gpmi-nand", >>> - .data =3D (void *)&gpmi_ids[IS_MX28] >>> + .data =3D (void *)&gpmi_ids[IS_MX28], >>> }, { >>> .compatible =3D "fsl,imx6q-gpmi-nand", >>> - .data =3D (void *)&gpmi_ids[IS_MX6Q] >>> + .data =3D (void *)&gpmi_ids[IS_MX6Q], >>> }, {} >>> }; >>> MODULE_DEVICE_TABLE(of, gpmi_nand_id_table); >> is it any bad influence if we do not apply this patch? >> >> I am not clear what we can benefit from this patch. >> > less eye sore when looking at the code and eventual copies of it in > other places. > ok. thanks for fix this. Acked-by: Huang Shijie