Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp386001imm; Fri, 10 Aug 2018 13:07:32 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyC9aASF61fhhwXaYOKEuxN4Huzhaco1pinD8+fvcfN0a7nAphGl/21MUNEBoa0vqylnmmJ X-Received: by 2002:a63:4203:: with SMTP id p3-v6mr7708423pga.184.1533931652340; Fri, 10 Aug 2018 13:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533931652; cv=none; d=google.com; s=arc-20160816; b=kv+ogkzRH9F58ps3GzDD/uAdtUxPC0mM9dxdwCkWcA6SBKnfFNepJ3+ZALQBm6jCJa djiheEGzH3rS2SJzy7658cwjmBbsV4eaQdI49cRsk4TV/9jO00vGH74nQ6MOUHE7TEyP tZquD12KZhHZwF+cpsEtoJElRpmlIA7oxSUzVnlPprJReWXfFOhLlbkuTmpUi8bRzuBp t9+IadYHVbO7cftBzWIS49b0o9y315EU2uEjsDdUoH9Mdi/QCqUpjYDlHpptti7LTmx7 p23NnYBG5f/UaIY2DiBAqRS1qJU8WbF8pUVXMtwrk3puACn0qtab5MNCXHdqNysmo0IM yU6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=3aReJ29jYQ8bobJjMjf4pYgO5bFnpNozuOLjtF3Cm+c=; b=bnGZz+QnOrfTn/0WV3XqoLMFQp36Pl0PohGYhJvPmvz7tKJNlQC4a1bkDKdBa7+RU5 eGGV0X/3OrPQKynLvW9vbt4XqzCVm+Bfi1IgDd7WCkEPZn4lN3DqXoBDptKN47SFu/RL NEl8uSXt0XbrrrJ5maNaYX/Vh0QrUFf91EbEW/Dyq8Ip75GSsPea927ml2glf50aX9Zc yIYToxhMLV7xexhfcF0+gyqA1Qv8FngfR7zTOIpM4jWm47HAZrJLvw0eW+imQI6s4Pfl 0FkhoKoDQxzBsxSoohD09uOBssBZFs/8KqUEG9gKs0fQhhBwDRGimMWSzwuaucSd5NDT 3tsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cbX2K+Nk; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 80-v6si10699498pgf.604.2018.08.10.13.07.16; Fri, 10 Aug 2018 13:07:32 -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=@chromium.org header.s=google header.b=cbX2K+Nk; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbeHJWhV (ORCPT + 99 others); Fri, 10 Aug 2018 18:37:21 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:37575 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbeHJWhV (ORCPT ); Fri, 10 Aug 2018 18:37:21 -0400 Received: by mail-pl0-f66.google.com with SMTP id d5-v6so4475288pll.4 for ; Fri, 10 Aug 2018 13:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3aReJ29jYQ8bobJjMjf4pYgO5bFnpNozuOLjtF3Cm+c=; b=cbX2K+Nk69v91+7AZT2NSfXaMLmWPniARMHg2Vt2GCUfbLHxbDrBP/iLKI/Z8p2poj lgmmuvo9S33EDP/cAq2cdnFcO85DoKZDIcGkeW30OjICZKMzQfq2WYYjvFw080ll2DHp O5beqC92SiotZxQ6aWG33BqBqQcGVVBkYvxZw= 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:mime-version :content-transfer-encoding; bh=3aReJ29jYQ8bobJjMjf4pYgO5bFnpNozuOLjtF3Cm+c=; b=NXpZVALj4k+auJlRKW7hsxXdAUceD7bXYDXcKDte0krzo9oexe6BsnmrN0e/zJptsP SzQUsC3lIgA3WyopiKIBsOB1kiyqaAAazW9+wD2B4M6VEzp/UIglHxYHKiXKcf9DuYXW bp/k1E3NztjvNRtEm9bvM5psFPbFSU+B+5zsQuT7ds6eD+O+w8FVe508FB2AKEtts4Ql kGlOrtViuNyAHGv501AxDHOYnS6E3T05zaTcM6w256GXVKBmMO44Adf3FMWTrdnEJh/X DUsW/dDUuTe4bTkzP29ByTB9AA3Ogsbjd+fLlT0SDW8szU/Wk0tYqWrMyy+rUF0e3oaR mA1Q== X-Gm-Message-State: AOUpUlF+ZZt+XUqh8BToGKY/wOn0GTUijZ6hnaywgGJmOtMsc1OPBcXR 5Gqvl/Ep6wz+wy3m3v2NnNHMPA== X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr7351695plt.50.1533931561290; Fri, 10 Aug 2018 13:06:01 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id a15-v6sm17547875pfe.32.2018.08.10.13.05.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 13:06:00 -0700 (PDT) From: Douglas Anderson To: broonie@kernel.org Cc: linux-arm-msm@vger.kernel.org, collinsd@codeaurora.org, Douglas Anderson , Liam Girdwood , linux-kernel@vger.kernel.org Subject: [PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases Date: Fri, 10 Aug 2018 13:05:31 -0700 Message-Id: <20180810200531.88409-1-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson --- drivers/regulator/qcom-rpmh-regulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 9f27daebd8c8..b8434e521d72 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -504,6 +504,7 @@ static unsigned int rpmh_regulator_pmic4_ldo_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode; @@ -537,6 +538,7 @@ rpmh_regulator_pmic4_smps_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode; @@ -566,6 +568,7 @@ static unsigned int rpmh_regulator_pmic4_bob_of_map_mode(unsigned int rpmh_mode) break; default: mode = REGULATOR_MODE_INVALID; + break; } return mode; -- 2.18.0.597.ga71716f1ad-goog