From patchwork Mon Sep 13 17:39:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cox X-Patchwork-Id: 178442 Return-path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on void.printf.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.9 tests=RCVD_IN_DNSWL_LOW autolearn=disabled version=3.2.5 Envelope-to: chris@printf.net Delivery-date: Mon, 13 Sep 2010 19:24:33 +0100 Received: from lists.laptop.org ([18.85.2.145] helo=mail.laptop.org) by void.printf.net with esmtp (Exim 4.69) (envelope-from ) id 1OvDhh-0000yM-CQ for chris@printf.net; Mon, 13 Sep 2010 19:24:33 +0100 Received: by mail.laptop.org (Postfix) id 8D7B12420A; Mon, 13 Sep 2010 14:24:09 -0400 (EDT) Delivered-To: cjb@laptop.org Received: from spam.laptop.org (spam.laptop.org [18.85.46.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.laptop.org (Postfix) with ESMTPS id 17130241FF for ; Mon, 13 Sep 2010 14:24:06 -0400 (EDT) X-ASG-Debug-ID: 1284402261-0b74d7760003-zHW3sV Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by spam.laptop.org with ESMTP id LdDAahWBBUsEzEHL for ; Mon, 13 Sep 2010 14:24:22 -0400 (EDT) X-Barracuda-Envelope-From: linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754783Ab0IMSYO (ORCPT ); Mon, 13 Sep 2010 14:24:14 -0400 Received: from mga11.intel.com ([192.55.52.93]:61250 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752515Ab0IMSYN (ORCPT ); Mon, 13 Sep 2010 14:24:13 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 13 Sep 2010 11:24:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.56,360,1280732400"; d="scan'208";a="837254829" Received: from unknown (HELO localhost.localdomain) ([10.255.14.44]) by fmsmga001.fm.intel.com with ESMTP; 13 Sep 2010 11:24:12 -0700 From: Alan Cox X-ASG-Orig-Subj: [PATCH 5/7] sdhci: Tidy up spaces in sdhci_intel_mid Subject: [PATCH 5/7] sdhci: Tidy up spaces in sdhci_intel_mid To: linux-mmc@vger.kernel.org, cjb@laptop.org Date: Mon, 13 Sep 2010 18:39:41 +0100 Message-ID: <20100913173940.20345.66285.stgit@localhost.localdomain> In-Reply-To: <20100913172738.20345.61119.stgit@localhost.localdomain> References: <20100913172738.20345.61119.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Barracuda-Connect: vger.kernel.org[209.132.180.67] X-Barracuda-Start-Time: 1284402262 X-Barracuda-URL: http://18.85.46.23:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at laptop.org X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.5 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.40764 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- diff --git a/drivers/mmc/host/sdhci-intel-mid.c b/drivers/mmc/host/sdhci-intel-mid.c index 436ee46..5057133 100644 --- a/drivers/mmc/host/sdhci-intel-mid.c +++ b/drivers/mmc/host/sdhci-intel-mid.c @@ -14,7 +14,7 @@ /* * Support code for SDHCI on Intel MID platforms. We have lots - * of quirks specific to these platforms so wrap them up in one place + * of quirks specific to these platforms so wrap them up in one place * that keeps them out of the main flow. We can't just make it a new * driver as the shdci core code isn't really a library. */ @@ -26,16 +26,16 @@ static DEFINE_MUTEX(port_mutex); static void sdhci_intel_wait_req(struct sdhci_host *host, - struct mmc_request *mrq) + struct mmc_request *mrq) { - mutex_lock(&port_mutex); - mmc_do_wait_for_req(host->mmc, mrq); - mutex_unlock(&port_mutex); + mutex_lock(&port_mutex); + mmc_do_wait_for_req(host->mmc, mrq); + mutex_unlock(&port_mutex); } /* * Handle the Moorestown reset - */ + */ static void sdhci_broken_reset(struct sdhci_host *host, u8 mask) { unsigned long timeout; @@ -75,8 +75,8 @@ static void sdhci_mid_init_no_reset(struct sdhci_host *host, int soft) intmask & (SDHCI_INT_CARD_INSERT | SDHCI_INT_CARD_REMOVE), SDHCI_INT_STATUS); - /* Ensure any IRQ left over from pre boot time (eg from Kboot) does - not turn up and cause chaos */ + /* Ensure any IRQ left over from pre boot time (eg from Kboot) does + not turn up and cause chaos */ sdhci_writel(host, 0, SDHCI_INT_ENABLE); sdhci_writel(host, 0, SDHCI_SIGNAL_ENABLE); @@ -130,7 +130,7 @@ static void sdhci_clockreset_wcmd(struct sdhci_host *host, struct mmc_command *cmd, int flags) { sdhci_clock_reset(host); - sdhci_writew(host, SDHCI_MAKE_CMD(cmd->opcode, flags), SDHCI_COMMAND); + sdhci_writew(host, SDHCI_MAKE_CMD(cmd->opcode, flags), SDHCI_COMMAND); } static void sdhci_lnw_a3_set_ios(struct sdhci_host *host,