Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1724635imm; Sat, 2 Jun 2018 07:28:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK1sr+EES8V0IDMyLXQBKxxXnZ7zGoeG6e4kELdcyKmfzAmpE7z2DtHPaOTt05gR64DUZ6b X-Received: by 2002:a65:5bce:: with SMTP id o14-v6mr12030033pgr.449.1527949717824; Sat, 02 Jun 2018 07:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527949717; cv=none; d=google.com; s=arc-20160816; b=l2QISdSsx0Lcwwcvtkn4dHl451D+yDoB7u31NgYyFB9SY8/mFm2bakta0CvThwzJXl J0ZHubrv1+mpU1ra123gL5UBs6SBYjbQQ79MCbbWORv5HhPvyqs98BE/SVLu529AF3eZ 4LRyPN0zdFPwXUkUDPLdWAFNg2v5TLK0WmMBOwMTiEaVVzZqVu0mK6px5psWHMwK491d 2SD2qs88i48Suig/fksI+/TJ7gtmFEfI1NikxgVE7hByG4vOEip+r+7Z3KqL711S+7Yz 1L2um0LlxSAtgnIhen+adGu6uiOaH2fHdLRsLR2uz1Z5BAHP+Sa7syStHf8zXFkuwhAk es6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=CnqhK8XAb5VKXDGPOTim4JX17tAKEHnOgOwGZlN4/kPXh7rzHYmaSgRXedWbT1T+L+ mA+d8lRdPrLJJ2vViORraYiT0DoIP9Om/ceDXJyjM7Xc+f+9b9F+K7DA14IAOi79VB7y HnYl1ZuP5NGabFn3nQQ/Xm5j2Q9HKOGAANxTLQReicGyCsJ3Hc8dJCf8Hww/SWVjPZxL 8MyzT/gXaQHiss98R5WRTldjzXcKUD/d4nwOyzdA0OIX7Bfd93Oo6A4pG/cqjtNo9pyd bRcR4pkGqk+lilGGVEv21vgzOj68tUXsyZV/1nhLdAJEZdNV5uQh9jxUNeqyl3IB1chm e8JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m0MVhFGc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13-v6si33621515pgn.146.2018.06.02.07.28.23; Sat, 02 Jun 2018 07:28:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m0MVhFGc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751876AbeFBO1o (ORCPT + 99 others); Sat, 2 Jun 2018 10:27:44 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44387 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821AbeFBO1l (ORCPT ); Sat, 2 Jun 2018 10:27:41 -0400 Received: by mail-pl0-f67.google.com with SMTP id z9-v6so13651782plk.11 for ; Sat, 02 Jun 2018 07:27:41 -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:in-reply-to:references; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=m0MVhFGcL2QKkESHinYUN/eqkUd+cPy/N2XF20F47tvxVtC2XP6GwtW/3h5RdgrsE1 8aAgrhE7kaBhA3eEKUW6OwiOPH27YwmGjpIZfRjrZp2XMMrtJEh4gy3Y0DRmQNL7/AdI xnY0WI66MDt+sMXJs7vg/l0c5tq6YAm8UOa3mKnAYYIS5/+04h9e34Bex3MJN97H59Vf qobzrRl3vCEmLknmvME28iRNOm1nP3lSuR5ZgqEaXX1X7oy0kS4SLfErFVMeGzdmnP8t 8+0J0zB8q9chzPRHWMEOCZEglcXjVGjobZJ0ZYVRslc3wMYFPf8oTV6NMpnL3mivKV14 0g4w== 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:in-reply-to :references; bh=88xThWVbxjHYT/XjNcayPv7H1ZbTtsd+YzsLl6+kEGo=; b=A7mNcVdUkM6ZNqTMuaD3PaPe/Dz5cMIBgh6AsE0hYFuOSlNHFFQuo4giFlb7zDAVdg 1Z95ZuxzH0epdIfrOgteXk0uX8VC0cAE6r21yoMcBGtvBF1Md8aKjaO+7Wwgf6jfgauG /cZ/gChq4jbMjqs8PAOx4kFBx+kceRYu5XJhThMHP53MqeFLFbyJ3tBJK77Sx8LU2HbC jit5ULu1Cg696zBppfGhcG/MXfDu9iy4ikdoWs8+CKWK4pZYX2mtGXgPgMXLDYDGt8/K HkFbG40G/T92CKbxWa9YuJAW3wfFM1duXZxzDVGumccdGI3mbpoL32R9wPjavqJhO1+T /1Rg== X-Gm-Message-State: ALKqPwdR/FNx9p76NURHGWm9a6oyuwlTT0pDKsA1FHrpNYsy1Facv0gr j0Mb9qq41p0AUoVTArFUXlY= X-Received: by 2002:a17:902:10c:: with SMTP id 12-v6mr15248525plb.252.1527949660765; Sat, 02 Jun 2018 07:27:40 -0700 (PDT) Received: from localhost ([47.30.73.118]) by smtp.gmail.com with ESMTPSA id w10-v6sm11412399pfa.135.2018.06.02.07.27.38 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Jun 2018 07:27:39 -0700 (PDT) From: Sankalp Negi To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, neil@brown.name, sankalpnegi2310@gmail.com Subject: [PATCH v2 5/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl. Date: Sat, 2 Jun 2018 19:56:05 +0530 Message-Id: <20180602142605.6846-6-sankalpnegi2310@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180602142605.6846-1-sankalpnegi2310@gmail.com> References: <20180601091553.GA5821@kroah.com> <20180602142605.6846-1-sankalpnegi2310@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c index 472f72479162..cf5b5d7c3cf9 100644 --- a/drivers/staging/mt7621-spi/spi-mt7621.c +++ b/drivers/staging/mt7621-spi/spi-mt7621.c @@ -165,9 +165,8 @@ static inline int mt7621_spi_wait_till_ready(struct spi_device *spi) u32 status; status = mt7621_spi_read(rs, MT7621_SPI_TRANS); - if ((status & SPITRANS_BUSY) == 0) { + if ((status & SPITRANS_BUSY) == 0) return 0; - } cpu_relax(); udelay(1); } -- 2.11.0