From: Shawn Guo Subject: Re: [MXS MMC 2/5] Some cleanups for the MMC driver Date: Wed, 7 Dec 2011 20:16:04 +0800 Message-ID: <20111207121603.GL5550@S2100-06.ap.freescale.net> References: <20111207120120.GK5550@S2100-06.ap.freescale.net> <20191.21688.696997.76000@ipc1.ka-ro> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:17010 "EHLO TX2EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755357Ab1LGMDT convert rfc822-to-8bit (ORCPT ); Wed, 7 Dec 2011 07:03:19 -0500 Content-Disposition: inline In-Reply-To: <20191.21688.696997.76000@ipc1.ka-ro> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Lothar =?iso-8859-1?Q?Wa=DFmann?= Cc: linux-arm-kernel@lists.infradead.org, Shawn Guo , Sascha Hauer , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Ball On Wed, Dec 07, 2011 at 12:57:44PM +0100, Lothar Wa=DFmann wrote: > Hi, >=20 > Shawn Guo writes: > > I'm fine with this cosmetic patch with the comments below addressed= =2E > >=20 > > On Tue, Dec 06, 2011 at 02:41:27PM +0100, Lothar Wa=DFmann wrote: > > > - Remove bogus parens around numerical arguments in #define's > > > - When defining bit masks, use the #def for the shift count > > > instead of repeating the numbers > >=20 > > This change brings a few 'line over 80 characters' checkpatch warni= ngs. > >=20 > will fix. >=20 > > > - Remove bogus whitespace in indentation > > > - Remove 'break' at end of switch statement > > >=20 > > > Signed-off-by: Lothar Wa=DFmann > > > --- > > > drivers/mmc/host/mxs-mmc.c | 57 +++++++++++++++++++++---------= ------------- > > > 1 files changed, 28 insertions(+), 29 deletions(-) > > >=20 > > > diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mm= c.c > > [...] > > > @@ -277,7 +277,7 @@ static irqreturn_t mxs_mmc_irq_handler(int ir= q, void *dev_id) > > > =20 > > > stat =3D readl(host->base + HW_SSP_CTRL1); > > > writel(stat & MXS_MMC_IRQ_BITS, > > > - host->base + HW_SSP_CTRL1 + MXS_CLR_ADDR); > >=20 > > This is an intended indentation with 7 spaces. > >=20 > According to Documentation/CodingStyle spaces are never used for > indentation (except in documentation, Kconfig and comments). >=20 Such nice indentation is all over this driver and even kernel tree. You may want to leave it as it is or fix them all over the driver. --=20 Regards, Shawn