From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut To: Huang Shijie Subject: Re: [PATCH 2/4] mtd: spi-nor: add a new data structrue spi_nor{} Date: Wed, 27 Nov 2013 11:27:09 +0100 References: <1385447575-23773-1-git-send-email-b32955@freescale.com> <201311271032.13259.marex@denx.de> <5295C85F.2030700@freescale.com> In-Reply-To: <5295C85F.2030700@freescale.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201311271127.09823.marex@denx.de> Cc: "broonie@linaro.org" , "linux-mtd@lists.infradead.org" , "Gupta, Pekon" , "Poddar, Sourav" , "computersforpeace@gmail.com" , "dwmw2@infradead.org" , "linux-arm-kernel@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Huang Shijie, > =E4=BA=8E 2013=E5=B9=B411=E6=9C=8827=E6=97=A5 17:32, Marek Vasut =E5=86= =99=E9=81=93: > > So this is your own device pointer or ... what kind of device pointer? >=20 > the pointer from spi_device{} OK, I am 200% positive you need to add comments into the structure about wh= at=20 exactly does each member of it mean AND it would be nice if you could renam= e=20 them to have less generic names (like spi_dev instead of dev). Thanks ! :) Best regards, Marek Vasut From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Wed, 27 Nov 2013 11:27:09 +0100 Subject: [PATCH 2/4] mtd: spi-nor: add a new data structrue spi_nor{} In-Reply-To: <5295C85F.2030700@freescale.com> References: <1385447575-23773-1-git-send-email-b32955@freescale.com> <201311271032.13259.marex@denx.de> <5295C85F.2030700@freescale.com> Message-ID: <201311271127.09823.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dear Huang Shijie, > ? 2013?11?27? 17:32, Marek Vasut ??: > > So this is your own device pointer or ... what kind of device pointer? > > the pointer from spi_device{} OK, I am 200% positive you need to add comments into the structure about what exactly does each member of it mean AND it would be nice if you could rename them to have less generic names (like spi_dev instead of dev). Thanks ! :) Best regards, Marek Vasut