From patchwork Mon Jun 19 18:17:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aravind Thokala X-Patchwork-Id: 9797127 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 11A14600C5 for ; Mon, 19 Jun 2017 18:18:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D00DF2844E for ; Mon, 19 Jun 2017 18:18:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4AD628459; Mon, 19 Jun 2017 18:18:21 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E20232844E for ; Mon, 19 Jun 2017 18:18:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750844AbdFSSSU (ORCPT ); Mon, 19 Jun 2017 14:18:20 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36304 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbdFSSST (ORCPT ); Mon, 19 Jun 2017 14:18:19 -0400 Received: by mail-pf0-f195.google.com with SMTP id y7so18579813pfd.3; Mon, 19 Jun 2017 11:18:19 -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=pNjvqo6bE7YpuN+5jMqqdMqQrRGtzaU0ntJ+TTf6HnY=; b=jKFUGOkXKDC6jHiUJ5hUdghO0jJ3UIWD8YEgkilZ5faQMVS5rNDQnZkDKGN7qYxwIf 57WoEx+xDc8BpnKv8aKhvLBG/nwtJ9Dx5iv2o/p/dI7CYEl5tUSoS7IVsgz8R1MD4O1Y 3oZ2XGorKRrz1Bh4pa5BXJVGjJHJ7HaaJhB6xrJ1FWKONydvIR7bxSjFVBYH6SxceKM9 +QnTX4xreUWqnjC4I5vvyoSZAfemxHgoxennNbb+wgr1iuCp0w3YEuAhrw0X1cFE+Ba+ o1kgnQ7zn+dajCRJnEy9WwkOyezC6WWVSC3NxYqEFXDzt30lMt4wWwZxJzTZi/+loPHC xZbg== 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=pNjvqo6bE7YpuN+5jMqqdMqQrRGtzaU0ntJ+TTf6HnY=; b=BpDJDL8lZkJnBofTmSGkwyzwGtOwVCewIvO1gC/oRDe2cbyZuOQ/SyhQ5LxJZhLBAH I9K6gSWn0HKwfL8LZ95Wzrpo2KlrX8fZL52MzN2dBNpVlX7Qsi/NtaPyEsKsKzuDK4lU ysgk0WWvfZebQEPnTRsB8F/SpKlUj5xdxJ2Muc8rBLCe18NOuKv1LtcxYKuy0NgCIuLX woWWOE7+g/6ORa/PYGsUb4XssuwsTfhyBEvNtasW6R5axbmUicokhs4IgXzsw3MaqZtt uWqcYlRYFSDu/s7RUmmbHM97gPKYKkik04H32FgJq+rbzhCKmSnL0/fD8Jdpy/qJajFa ZIYg== X-Gm-Message-State: AKS2vOy8rQU38cpozlF80ZyITWbj2uidGWzqDqE8/+3Sd7WnWnz4MsOp VUd4fxOPChr//g== X-Received: by 10.99.137.66 with SMTP id v63mr5492474pgd.182.1497896298741; Mon, 19 Jun 2017 11:18:18 -0700 (PDT) Received: from localhost.localdomain ([183.82.198.149]) by smtp.gmail.com with ESMTPSA id s7sm25772884pfd.86.2017.06.19.11.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Jun 2017 11:18:18 -0700 (PDT) From: Aravind Thokala To: Mark Brown , Florian Fainelli Cc: bcm-kernel-feedback-list@broadcom.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Aravind Thokala Subject: [PATCH v2] spi/bcm63xx: Fix checkpatch warnings Date: Mon, 19 Jun 2017 23:47:48 +0530 Message-Id: <1497896268-5613-1-git-send-email-aravind.thk@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.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 --- Changes in v2: - change the subject of the patch as suggested by Florian. --- 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 },