From patchwork Tue Jul 22 11:11:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 34084 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3C5CB20540 for ; Tue, 22 Jul 2014 11:18:40 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id w10sf52104978pde.3 for ; Tue, 22 Jul 2014 04:18:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=/wp6DQaQKtwKVGviyN7ujiac5IyWzQ2Vu2ZHVzHeQHk=; b=VaMAiEhkq+bNk/JGUw4zGoE39Wcq7hg862grvZnhbRMhx2+eEOteRreTW4FREgtIKT JKpRrMgdyKxPksfLDivjoEDb6d7UQ3+AzqmfSHT+J/DFZiwxliYfIiuanWrEIA7ZdLEa dF4LCuGCLJ8H3yQGlu7hRSVCQ/j9Sj8dI5fZBdwd2s79oPmGo/RjTQEWPO63P5dar37o tt5PJdzvuaBJq9ro3RkpJebCNAvBA/6RpMRMpSTW16MMnqyUJQr218kXmd31krXsw/5W qWm9wKxSPUYm3kNTIblYPXbk8Fa1mTQv/vjAsT+/pzaWH3itR/mmPJjk9RBoMrn6ICad lRsw== X-Gm-Message-State: ALoCoQnym1gVHEnaND30ZjishgPGHoDfGmpyZ+4rnGp6w/3G8T1vrkO/iJ+5pIRGKNpxfP9HZHA2 X-Received: by 10.66.173.75 with SMTP id bi11mr16555268pac.4.1406027503716; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.38 with SMTP id j35ls1669935qge.89.gmail; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) X-Received: by 10.52.186.103 with SMTP id fj7mr23149885vdc.53.1406027503566; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ti9si95712vdc.35.2014.07.22.04.11.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hu12so14829339vcb.28 for ; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) X-Received: by 10.52.37.81 with SMTP id w17mr9693414vdj.95.1406027503496; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp186613vcb; Tue, 22 Jul 2014 04:11:43 -0700 (PDT) X-Received: by 10.43.28.82 with SMTP id rt18mr35506767icb.22.1406027502968; Tue, 22 Jul 2014 04:11:42 -0700 (PDT) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPS id sb2si36431155igb.61.2014.07.22.04.11.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:42 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.223.174 as permitted sender) client-ip=209.85.223.174; Received: by mail-ie0-f174.google.com with SMTP id rp18so7977327iec.33 for ; Tue, 22 Jul 2014 04:11:42 -0700 (PDT) X-Received: by 10.50.142.99 with SMTP id rv3mr15504445igb.48.1406027502771; Tue, 22 Jul 2014 04:11:42 -0700 (PDT) Received: from localhost.localdomain (host109-148-232-149.range109-148.btcentralplus.com. [109.148.232.149]) by mx.google.com with ESMTPSA id lo3sm1302829igb.22.2014.07.22.04.11.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:42 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: sameo@linux.intel.com, Lee Jones Subject: [PATCH 03/19] mfd: tps80031: Fix 'missing break or fall-through comment' warning Date: Tue, 22 Jul 2014 12:11:09 +0100 Message-Id: <1406027485-15657-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1406027485-15657-1-git-send-email-lee.jones@linaro.org> References: <1406027485-15657-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This is part of an effort to clean-up the MFD subsystem. WARNING: Possible switch case/default not preceeded by break or fallthrough comment + case TPS80031_BACKUP_REG: total: 0 errors, 1 warnings, 573 lines checked Signed-off-by: Lee Jones --- drivers/mfd/tps80031.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c index ed6c5b0..7a3806c 100644 --- a/drivers/mfd/tps80031.c +++ b/drivers/mfd/tps80031.c @@ -334,6 +334,7 @@ static bool rd_wr_reg_id1(struct device *dev, unsigned int reg) case TPS80031_PREQ1_RES_ASS_A ... TPS80031_PREQ3_RES_ASS_C: case TPS80031_SMPS_OFFSET ... TPS80031_BATDEBOUNCING: case TPS80031_CFG_INPUT_PUPD1 ... TPS80031_CFG_SMPS_PD: + /* Fall through */ case TPS80031_BACKUP_REG: return true; default: