From patchwork Mon Jun 19 16:49:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aravind Thokala X-Patchwork-Id: 9796823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50E3B600C5 for ; Mon, 19 Jun 2017 16:57:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37E6627E5A for ; Mon, 19 Jun 2017 16:57:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C5C427F8F; Mon, 19 Jun 2017 16:57:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BF3C127E5A for ; Mon, 19 Jun 2017 16:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=fvPiR+isIIbBX8J08oGflLTSbn2VFz428KnJU4DAtfU=; b=thf CP6rPDLaKeEJlzy0+SHgamJRfUJ4DABSdwjVhB1KeMxSGjAbk/fzDeBd31wYIdoODIvu0c1JbO9bW wP79b1KBnyjgUDtsSvXXz2MQZ5jgLMFRwo9Ohf9BCdexosuqusoVLpSeLLmEiwa6l2J2rrXIEhKTq dIsGWj9Udgq4sI29RjmjohMv+Um48AObnyeGO+kCbJFJ/K+mPB7eANhmAWYk60qsowMOXq8O+aRYF rQjEMvRpcZeuVt6spco39nfCAieL/JGHrsPJJPcq0cMrrR0b/W42To1Gq1AM9oQWqPTyJWKAkTpTL 668VbWvAMwiPLG2RlkZueWZjhghKk7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dMzzv-0002G9-14; Mon, 19 Jun 2017 16:57:55 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dMzzr-00024L-Ee for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2017 16:57:53 +0000 Received: by mail-pg0-x241.google.com with SMTP id u62so11375013pgb.0 for ; Mon, 19 Jun 2017 09:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PvQdkHIyDDugVrWWQuzhadq10LmmvPi0+PNdkYbwwUE=; b=ORyrHyb8RMp7ryfvfmAHswxOb4YEl3Y8c+tFtUX1MmNAEwlefojAVzmKWCm6s7OR8b cdHcnQ3CvXguM0bMc79lwzmo6INdP0zkaP0vJd4VSNmsHDnfyoMl3ATK0T5ao1uyNcnJ Q3ajGik/NG7+M+J7IipjJm1gqYUaOTpLl/m/ThX1/lfs46rsrmDhdctD4vbBpX23vWFW VuyyU2FEZbInFFPREKHmr9/4s9qzxZICHG68hgXVxq3KLfPI8OnhOGEoXM8JCE61AQP/ 29m+REieGwzRjEEE6xIpR5dr7ibmA44K9yb74G+3KGxwp1EbLypoK92NOo7LF6A19dsX jhqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PvQdkHIyDDugVrWWQuzhadq10LmmvPi0+PNdkYbwwUE=; b=Lw+rUQSyVpB8rWG7DayOyc51dIZ73UWpL0rSqnnb3RsCtJwFLnIE2a17pn9iRkXdBj 6zq6eERwjhPt0BcuOqBWBALVS5vN6FWSChRpQ/pju+eB2Et86B3RcZjjFNYV9S1aHU1N TsP5wrohyyRJcPOTpPXUm9aATlHkCI1oLtoDofLq1HhX3L3zkp3hc8xBTtRSrRiNveYs vPVrcL89a/Bp9sFMx0+RZv1fy+XE3tQ3S4cplsNU+3/3DLmVo/dXYTX5CNlYs4ksmreI d0UcjKjE1+DsCD9hJIhm7I2+sF9HdLuPudukEsVN9xDp6CEhkijDAPKCpqqJtT+uGnSx M2YQ== X-Gm-Message-State: AKS2vOyZLiaaE29xyzOVT3Stj0pW6/u6EY/Rc4agrx+N3yUpeLkU8kdD AV02ZnnoxDHfBQ== X-Received: by 10.84.139.67 with SMTP id 61mr30171420plq.19.1497891007882; Mon, 19 Jun 2017 09:50:07 -0700 (PDT) Received: from localhost.localdomain ([183.82.198.149]) by smtp.gmail.com with ESMTPSA id s4sm21097377pgr.10.2017.06.19.09.50.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Jun 2017 09:50:07 -0700 (PDT) From: Aravind Thokala To: Mark Brown , Florian Fainelli Subject: [PATCH] mips: bcm63xx: spi: Fix checkpatch.pl warnings Date: Mon, 19 Jun 2017 22:19:40 +0530 Message-Id: <1497890980-4334-1-git-send-email-aravind.thk@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170619_095751_588329_400DF754 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aravind Thokala , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the checkpatch.pl warnings on the driver file. Signed-off-by: Aravind Thokala Reviewed-by: Florian Fainelli --- drivers/spi/spi-bcm63xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 247f71b..84c7356 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -147,7 +147,7 @@ struct bcm63xx_spi { /* Platform data */ const unsigned long *reg_offsets; - unsigned fifo_size; + unsigned int fifo_size; unsigned int msg_type_shift; unsigned int msg_ctl_width; @@ -191,7 +191,7 @@ static inline void bcm_spi_writew(struct bcm63xx_spi *bs, #endif } -static const unsigned bcm63xx_spi_freq_table[SPI_CLK_MASK][2] = { +static const unsigned int bcm63xx_spi_freq_table[SPI_CLK_MASK][2] = { { 20000000, SPI_CLK_20MHZ }, { 12500000, SPI_CLK_12_50MHZ }, { 6250000, SPI_CLK_6_250MHZ },